Add dynamic theme switching on Windows 10

This commit is contained in:
Janek Bevendorff 2020-12-24 00:09:51 +01:00
parent 80c1b9be6a
commit 9a7b20cbfd
4 changed files with 18 additions and 10 deletions

View file

@ -80,7 +80,7 @@ QIcon Icons::trayIcon(QString style)
}
QIcon i;
#ifdef Q_OS_MACOS
#if defined(Q_OS_MACOS) || defined(Q_OS_WIN)
if (osUtils->isStatusBarDark()) {
i = icon(QString("keepassxc-monochrome-light%1").arg(style), false);
} else {