mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Merge pull request #2709 from rullzer/monochrome-state-info-icon
Resepct theming when no syncs are configure
This commit is contained in:
commit
00ed37dd02
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ void ownCloudGui::slotComputeOverallSyncStatus()
|
||||||
_tray->setToolTip(trayMessage);
|
_tray->setToolTip(trayMessage);
|
||||||
} else {
|
} else {
|
||||||
// undefined because there are no folders.
|
// undefined because there are no folders.
|
||||||
QIcon icon = Theme::instance()->syncStateIcon(SyncResult::Problem);
|
QIcon icon = Theme::instance()->syncStateIcon(SyncResult::Problem, true);
|
||||||
_tray->setIcon( icon );
|
_tray->setIcon( icon );
|
||||||
_tray->setToolTip(tr("There are no sync folders configured."));
|
_tray->setToolTip(tr("There are no sync folders configured."));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue