Minor: use namespace internal::
This commit is contained in:
parent
5bae9fcdf1
commit
f4d785ea9d
@ -1,5 +1,6 @@
|
||||
#include "process/check_update_activation_command.h"
|
||||
#include "worker.h"
|
||||
#include "utils_internal.h"
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
@ -22,17 +23,17 @@ void CheckUpdateActivationCommand::readyReadStandardOutput() {
|
||||
Worker *w = worker();
|
||||
if (w) {
|
||||
QString s = p->readAllStandardOutput().trimmed();
|
||||
if (s == UpdateCommand::UPDATE_REQUESTED) {
|
||||
emit w->showUpdateRequest(UpdateCommand::UPDATE_REQUESTED);
|
||||
if (s == internal::UPDATE_REQUESTED) {
|
||||
emit w->showUpdateRequest(internal::UPDATE_REQUESTED);
|
||||
} else
|
||||
if (s == UpdateCommand::UPDATE_NOT_NECESSARY) {
|
||||
emit w->showUpdateRequest(UpdateCommand::UPDATE_NOT_NECESSARY);
|
||||
if (s == internal::UPDATE_NOT_NECESSARY) {
|
||||
emit w->showUpdateRequest(internal::UPDATE_NOT_NECESSARY);
|
||||
} else
|
||||
if (s == UpdateCommand::UPDATE_NOT_REQUESTED) {
|
||||
emit w->showUpdateRequest(UpdateCommand::UPDATE_NOT_REQUESTED);
|
||||
if (s == internal::UPDATE_NOT_REQUESTED) {
|
||||
emit w->showUpdateRequest(internal::UPDATE_NOT_REQUESTED);
|
||||
} else
|
||||
if (s == UpdateCommand::NO_CUSTOMER_REPOSITORY) {
|
||||
emit w->showUpdateRequest(UpdateCommand::NO_CUSTOMER_REPOSITORY);
|
||||
if (s == internal::NO_CUSTOMER_REPOSITORY) {
|
||||
emit w->showUpdateRequest(internal::NO_CUSTOMER_REPOSITORY);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user