aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/ui/MainWindow.cpp')
-rw-r--r--launcher/ui/MainWindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp
index f62d9760..1f8444af 100644
--- a/launcher/ui/MainWindow.cpp
+++ b/launcher/ui/MainWindow.cpp
@@ -1315,9 +1315,7 @@ void MainWindow::updateThemeMenu()
QActionGroup* ThemesGroup = new QActionGroup( this );
- for (int i = 0; i < themes.size(); i++)
- {
- auto *theme = themes[i];
+ for (auto* theme : themes) {
QAction * themeAction = themeMenu->addAction(theme->name());
themeAction->setCheckable(true);