mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Re #2160: create only one timer for updateSdsyncAction()
This commit is contained in:
parent
863a30a5ed
commit
ca0c5c02b0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue