Status icons: Display the correct icons after startup connect.

This commit is contained in:
Klaas Freitag 2014-08-19 14:10:57 +02:00
parent dc0a054d94
commit e4fe4cb4d3

View file

@ -201,8 +201,8 @@ void ownCloudGui::startupConnected( bool connected, const QStringList& fails )
if( connected ) {
qDebug() << "######## connected to ownCloud Server!";
folderMan->setSyncEnabled(true);
_tray->setIcon( Theme::instance()->syncStateIcon( SyncResult::NotYetStarted, true ) );
_tray->show();
// _tray->setIcon( Theme::instance()->syncStateIcon( SyncResult::NotYetStarted, true ) );
// _tray->show();
}
_startupFails = fails; // store that for the settings dialog once it appears.
@ -210,6 +210,7 @@ void ownCloudGui::startupConnected( bool connected, const QStringList& fails )
_settingsDialog->setGeneralErrors( _startupFails );
}
slotComputeOverallSyncStatus();
}
void ownCloudGui::slotComputeOverallSyncStatus()