Remove if TOKEN_AUTH_ONLY because the build will fail without it in all cases.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-01-22 11:30:00 +01:00
parent 30883785e4
commit 2089fb168b
No known key found for this signature in database
GPG Key ID: 7A4A6121E88E2AD4
2 changed files with 0 additions and 4 deletions

View File

@ -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()
{

View File

@ -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)
{