diff --git a/src/common/utility_unix.cpp b/src/common/utility_unix.cpp index 2bb8937a404f5..0b47ee78e13bc 100644 --- a/src/common/utility_unix.cpp +++ b/src/common/utility_unix.cpp @@ -112,12 +112,10 @@ void Utility::setLaunchOnStartup(const QString &appName, const QString &guiName, } } -#ifndef TOKEN_AUTH_ONLY bool Utility::hasDarkSystray() { return true; } -#endif QString Utility::getCurrentUserName() { diff --git a/src/common/utility_win.cpp b/src/common/utility_win.cpp index b2782c66fa5ad..9852cde16b382 100644 --- a/src/common/utility_win.cpp +++ b/src/common/utility_win.cpp @@ -148,7 +148,6 @@ void Utility::setLaunchOnStartup(const QString &appName, const QString &guiName, } } -#ifndef TOKEN_AUTH_ONLY bool Utility::hasDarkSystray() { if(Utility::registryGetKeyValue( HKEY_CURRENT_USER, @@ -185,7 +184,6 @@ bool Utility::registryKeyExists(HKEY hRootKey, const QString &subKey) RegCloseKey(hKey); return result != ERROR_FILE_NOT_FOUND; } -#endif QVariant Utility::registryGetKeyValue(HKEY hRootKey, const QString &subKey, const QString &valueName) {