Merge pull request #2709 from rullzer/monochrome-state-info-icon

Resepct theming when no syncs are configure
This commit is contained in:
Daniel Molkentin 2015-01-20 08:21:42 +01:00
commit 00ed37dd02

View file

@ -269,7 +269,7 @@ void ownCloudGui::slotComputeOverallSyncStatus()
_tray->setToolTip(trayMessage);
} else {
// 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->setToolTip(tr("There are no sync folders configured."));
}