Unlocked tray icon #37

This commit is contained in:
thez3ro authored and Jonathan White committed 2016-10-10 00:02:28 -04:00
1 parent 5bb27b2989
commit 3bbf11e26f
9 files changed
+43 -2

No files matched your search

+10
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;