diff --git a/genericcore.cpp b/genericcore.cpp index e8e61ea..7ec4636 100644 --- a/genericcore.cpp +++ b/genericcore.cpp @@ -7,6 +7,7 @@ #include #include +#include "../../ApplicationConfig.h" #include "CoreConfig.h" #include "constants.h" @@ -70,7 +71,7 @@ QString GenericCore::getMaintenanceToolFilePath() const { /// setting the applicationDirPath hard coded to test update feature from IDE #ifdef QT_DEBUG // REFACTOR retrieve application name automatically instead of using hard coded name - applicationDirPath = "/opt/GenericQtClient"; + applicationDirPath = QString("/opt/%1").arg(APPLICATION_NAME); #endif #ifdef Q_OS_MAC