mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-28 01:05:23 -04: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
2 changed files with 2 additions and 4 deletions
|
@ -49,8 +49,6 @@ cp -a ../../bin-release/* .
|
||||||
cp -a ./usr/local/* ./usr
|
cp -a ./usr/local/* ./usr
|
||||||
rm -R ./usr/local
|
rm -R ./usr/local
|
||||||
rmdir ./opt 2> /dev/null
|
rmdir ./opt 2> /dev/null
|
||||||
patch_strings_in_file /usr/local ././
|
|
||||||
patch_strings_in_file /usr ./
|
|
||||||
|
|
||||||
# bundle Qt platform plugins and themes
|
# bundle Qt platform plugins and themes
|
||||||
QXCB_PLUGIN="$(find /usr/lib -name 'libqxcb.so' 2> /dev/null)"
|
QXCB_PLUGIN="$(find /usr/lib -name 'libqxcb.so' 2> /dev/null)"
|
||||||
|
|
|
@ -91,12 +91,12 @@ QString FilePath::pluginPath(const QString& name)
|
||||||
|
|
||||||
QIcon FilePath::applicationIcon()
|
QIcon FilePath::applicationIcon()
|
||||||
{
|
{
|
||||||
return icon("apps", "keepassxc");
|
return icon("apps", "keepassxc", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
QIcon FilePath::trayIconLocked()
|
QIcon FilePath::trayIconLocked()
|
||||||
{
|
{
|
||||||
return icon("apps", "keepassxc-locked");
|
return icon("apps", "keepassxc-locked", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
QIcon FilePath::trayIconUnlocked()
|
QIcon FilePath::trayIconUnlocked()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue