Re #2160: create only one timer for updateSdsyncAction()

This commit is contained in:
Damjan Adamic
2015-03-23 20:02:49 +01:00
parent 863a30a5ed
commit ca0c5c02b0
+1 -1
View File
@@ -121,6 +121,7 @@ MainWindow::MainWindow():
}
QTimer::singleShot(updateDelay, this, SLOT(doAutoUpdates()));
QTimer::singleShot(updateDelay, this, SLOT(displayWarnings()));
updateSdsyncAction();
QStringList strl = QApplication::arguments();
QString str;
@@ -916,7 +917,6 @@ void MainWindow::updateMenus()
printAct->setEnabled(hasSelection);
loadbackupAct->setEnabled(hasMdiChild);
compareAct->setEnabled(activeMdiChild());
updateSdsyncAction();
updateRecentFileActions();
updateProfilesActions();
updateLanguageActions();