aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/Wizard.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-07-20 14:14:26 +0000
committerSaturneric <[email protected]>2021-07-20 14:14:26 +0000
commit7be23e45d895e4bc4bb8b169ca5b07d84e4c5b85 (patch)
tree882c60bf7b977aaed1b0e272952c9ed5df7a0c8e /src/ui/Wizard.cpp
parentMerge pull request #14 from saturneric/develop (diff)
parentFix problem that macos cannot use multi-languages. (diff)
downloadGpgFrontend-7be23e45d895e4bc4bb8b169ca5b07d84e4c5b85.tar.gz
GpgFrontend-7be23e45d895e4bc4bb8b169ca5b07d84e4c5b85.zip
Merge branch 'develop'
Diffstat (limited to 'src/ui/Wizard.cpp')
-rw-r--r--src/ui/Wizard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/Wizard.cpp b/src/ui/Wizard.cpp
index ff6e296c..b0486cc9 100644
--- a/src/ui/Wizard.cpp
+++ b/src/ui/Wizard.cpp
@@ -130,9 +130,9 @@ IntroPage::IntroPage(QWidget *parent)
languages = SettingsDialog::listLanguages();
auto *langSelectBox = new QComboBox();
- foreach(QString l, languages) {
- langSelectBox->addItem(l);
- }
+ for(const auto &l : languages) {
+ langSelectBox->addItem(l);
+ }
// selected entry from config
QString langKey = settings.value("int/lang").toString();
QString langValue = languages.value(langKey);