summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 43f596eb2..d25635c66 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -621,7 +621,7 @@ void MainWindow::initialUiSetup()
}
#define TOOLBOX_PREF_BUTTON(pref, setting, button) \
- prefs.pref = s.value(#setting).toBool(); \
+ prefs.pref = s.value(#setting).toBool(); \
ui.button->setChecked(prefs.pref);
void MainWindow::readSettings()
@@ -835,7 +835,7 @@ void MainWindow::removeRecentFile(QStringList failedFiles)
}
}
- foreach (QString file, failedFiles)
+ foreach(QString file, failedFiles)
files.removeAll(file);
for (int c = 1; c <= 4; c++) {