Fix dark tray icon option making all icons dark
Introduces a separate path for tray icons which are neither locked nor unlocked. Closes #1556.
This commit is contained in:
@@ -97,6 +97,15 @@ QString FilePath::wordlistPath(const QString& name)
|
||||
}
|
||||
|
||||
QIcon FilePath::applicationIcon()
|
||||
{
|
||||
#ifdef KEEPASSXC_DIST_SNAP
|
||||
return icon("apps", "keepassxc", false);
|
||||
#else
|
||||
return icon("apps", "keepassxc");
|
||||
#endif
|
||||
}
|
||||
|
||||
QIcon FilePath::trayIcon()
|
||||
{
|
||||
bool darkIcon = useDarkIcon();
|
||||
|
||||
@@ -107,7 +116,6 @@ QIcon FilePath::applicationIcon()
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
QIcon FilePath::trayIconLocked()
|
||||
{
|
||||
#ifdef KEEPASSXC_DIST_SNAP
|
||||
|
||||
Reference in New Issue
Block a user