Don't try to use theme icons for the system tray, resolves #194

Qt also looks in the program's working directory for icons, but apparently, the Ubuntu system tray doesn't, resulting in missing tray icons
This commit is contained in:
Janek Bevendorff 2017-02-08 17:55:50 +01:00
parent 44c58a66d1
commit 6c45fcbfc7
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53
2 changed files with 2 additions and 4 deletions

View File

@ -49,8 +49,6 @@ cp -a ../../bin-release/* .
cp -a ./usr/local/* ./usr
rm -R ./usr/local
rmdir ./opt 2> /dev/null
patch_strings_in_file /usr/local ././
patch_strings_in_file /usr ./
# bundle Qt platform plugins and themes
QXCB_PLUGIN="$(find /usr/lib -name 'libqxcb.so' 2> /dev/null)"

View File

@ -91,12 +91,12 @@ QString FilePath::pluginPath(const QString& name)
QIcon FilePath::applicationIcon()
{
return icon("apps", "keepassxc");
return icon("apps", "keepassxc", false);
}
QIcon FilePath::trayIconLocked()
{
return icon("apps", "keepassxc-locked");
return icon("apps", "keepassxc-locked", false);
}
QIcon FilePath::trayIconUnlocked()