mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Status icons: Display the correct icons after startup connect.
This commit is contained in:
parent
dc0a054d94
commit
e4fe4cb4d3
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue