From f4d785ea9dfcfa639ca24317783d31d9f3259f80 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 21 Feb 2025 12:42:13 +0100 Subject: [PATCH] Minor: use namespace internal:: --- .../process/check_update_activation_command.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/UpdatePTUDevCtrl/process/check_update_activation_command.cpp b/UpdatePTUDevCtrl/process/check_update_activation_command.cpp index 3210796..b6b99d7 100644 --- a/UpdatePTUDevCtrl/process/check_update_activation_command.cpp +++ b/UpdatePTUDevCtrl/process/check_update_activation_command.cpp @@ -1,5 +1,6 @@ #include "process/check_update_activation_command.h" #include "worker.h" +#include "utils_internal.h" #include @@ -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); } } }