Resepct theming when no syncs are configure

This commit is contained in:
Roeland Jago Douma 2014-12-19 15:08:49 +01:00
parent e8efaa5ed8
commit cd8affc255

View File

@ -267,7 +267,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."));
}