Minor: use namespace internal::

This commit is contained in:
Gerhard Hoffmann 2025-02-21 12:42:13 +01:00
parent 5bae9fcdf1
commit f4d785ea9d

View File

@ -1,5 +1,6 @@
#include "process/check_update_activation_command.h" #include "process/check_update_activation_command.h"
#include "worker.h" #include "worker.h"
#include "utils_internal.h"
#include <QDebug> #include <QDebug>
@ -22,17 +23,17 @@ void CheckUpdateActivationCommand::readyReadStandardOutput() {
Worker *w = worker(); Worker *w = worker();
if (w) { if (w) {
QString s = p->readAllStandardOutput().trimmed(); QString s = p->readAllStandardOutput().trimmed();
if (s == UpdateCommand::UPDATE_REQUESTED) { if (s == internal::UPDATE_REQUESTED) {
emit w->showUpdateRequest(UpdateCommand::UPDATE_REQUESTED); emit w->showUpdateRequest(internal::UPDATE_REQUESTED);
} else } else
if (s == UpdateCommand::UPDATE_NOT_NECESSARY) { if (s == internal::UPDATE_NOT_NECESSARY) {
emit w->showUpdateRequest(UpdateCommand::UPDATE_NOT_NECESSARY); emit w->showUpdateRequest(internal::UPDATE_NOT_NECESSARY);
} else } else
if (s == UpdateCommand::UPDATE_NOT_REQUESTED) { if (s == internal::UPDATE_NOT_REQUESTED) {
emit w->showUpdateRequest(UpdateCommand::UPDATE_NOT_REQUESTED); emit w->showUpdateRequest(internal::UPDATE_NOT_REQUESTED);
} else } else
if (s == UpdateCommand::NO_CUSTOMER_REPOSITORY) { if (s == internal::NO_CUSTOMER_REPOSITORY) {
emit w->showUpdateRequest(UpdateCommand::NO_CUSTOMER_REPOSITORY); emit w->showUpdateRequest(internal::NO_CUSTOMER_REPOSITORY);
} }
} }
} }