Fix dark tray icon option making all icons dark

Introduces a separate path for tray icons which are neither locked nor
unlocked.

Closes #1556.
This commit is contained in:
Thomas Luzat authored and TheZ3ro committed 2018-03-08 21:34:15 +01:00
1 parent 2fcaeeaec8
commit 082ecc3f37
3 files changed
+11 -2

No files matched your search

+1 -1
View File
@@ -899,7 +899,7 @@ void MainWindow::updateTrayIcon()
m_trayIcon->setContextMenu(menu);
m_trayIcon->setIcon(filePath()->applicationIcon());
m_trayIcon->setIcon(filePath()->trayIcon());
m_trayIcon->show();
}
if (m_ui->tabWidget->hasLockableDatabases()) {