Unlocked tray icon #37

This commit is contained in:
thez3ro
2016-10-08 18:55:05 +02:00
committed by Jonathan White
parent 5bb27b2989
commit 3bbf11e26f
9 changed files with 43 additions and 2 deletions

View File

@@ -90,6 +90,16 @@ QIcon FilePath::applicationIcon()
return icon("apps", "keepassx");
}
QIcon FilePath::trayIconLocked()
{
return icon("apps", "keepassx-locked");
}
QIcon FilePath::trayIconUnlocked()
{
return applicationIcon();
}
QIcon FilePath::icon(const QString& category, const QString& name, bool fromTheme)
{
QString combinedName = category + "/" + name;