Fixes #2160
This commit is contained in:
@@ -123,7 +123,6 @@ MainWindow::MainWindow():
|
||||
}
|
||||
QTimer::singleShot(updateDelay, this, SLOT(doAutoUpdates()));
|
||||
QTimer::singleShot(updateDelay, this, SLOT(displayWarnings()));
|
||||
updateSdsyncAction();
|
||||
|
||||
QStringList strl = QApplication::arguments();
|
||||
QString str;
|
||||
@@ -897,12 +896,6 @@ void MainWindow::about()
|
||||
msgBox.exec();
|
||||
}
|
||||
|
||||
void MainWindow::updateSdsyncAction()
|
||||
{
|
||||
QTimer::singleShot(1000, this, SLOT(updateSdsyncAction()));
|
||||
sdsyncAct->setEnabled(!findMassstoragePath("SOUNDS").isEmpty());
|
||||
}
|
||||
|
||||
void MainWindow::updateMenus()
|
||||
{
|
||||
bool hasMdiChild = (activeMdiChild() != 0);
|
||||
|
||||
@@ -156,7 +156,6 @@ class MainWindow : public QMainWindow
|
||||
void loadBackup();
|
||||
void appPrefs();
|
||||
void fwPrefs();
|
||||
void updateSdsyncAction();
|
||||
void updateMenus();
|
||||
void createProfile();
|
||||
MdiChild *createMdiChild();
|
||||
|
||||
Reference in New Issue
Block a user