Re #2160: create only one timer for updateSdsyncAction()
This commit is contained in:
@@ -121,6 +121,7 @@ MainWindow::MainWindow():
|
|||||||
}
|
}
|
||||||
QTimer::singleShot(updateDelay, this, SLOT(doAutoUpdates()));
|
QTimer::singleShot(updateDelay, this, SLOT(doAutoUpdates()));
|
||||||
QTimer::singleShot(updateDelay, this, SLOT(displayWarnings()));
|
QTimer::singleShot(updateDelay, this, SLOT(displayWarnings()));
|
||||||
|
updateSdsyncAction();
|
||||||
|
|
||||||
QStringList strl = QApplication::arguments();
|
QStringList strl = QApplication::arguments();
|
||||||
QString str;
|
QString str;
|
||||||
@@ -916,7 +917,6 @@ void MainWindow::updateMenus()
|
|||||||
printAct->setEnabled(hasSelection);
|
printAct->setEnabled(hasSelection);
|
||||||
loadbackupAct->setEnabled(hasMdiChild);
|
loadbackupAct->setEnabled(hasMdiChild);
|
||||||
compareAct->setEnabled(activeMdiChild());
|
compareAct->setEnabled(activeMdiChild());
|
||||||
updateSdsyncAction();
|
|
||||||
updateRecentFileActions();
|
updateRecentFileActions();
|
||||||
updateProfilesActions();
|
updateProfilesActions();
|
||||||
updateLanguageActions();
|
updateLanguageActions();
|
||||||
|
|||||||
Reference in New Issue
Block a user