mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 00:09:53 -05:00
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:
parent
44c58a66d1
commit
6c45fcbfc7
@ -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)"
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user