mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
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:
parent
30883785e4
commit
2089fb168b
@ -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()
|
||||
{
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user