aboutsummaryrefslogtreecommitdiff
path: root/plugins/ProfileEditor
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-02 11:02:42 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-02 11:02:42 +0200
commit3533e0d4cce3e7af2df8e6c42f462315da8c9df8 (patch)
treeff19b54818708f122f4dc501fcaf80594b8b99a2 /plugins/ProfileEditor
parentFix hg bookmark not showing up in arch build version (diff)
downloadsmolbote-3533e0d4cce3e7af2df8e6c42f462315da8c9df8.tar.xz
Clazy fixes
Diffstat (limited to 'plugins/ProfileEditor')
-rw-r--r--plugins/ProfileEditor/forms/profilemanagerdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ProfileEditor/forms/profilemanagerdialog.cpp b/plugins/ProfileEditor/forms/profilemanagerdialog.cpp
index fbf7ad4..13f974f 100644
--- a/plugins/ProfileEditor/forms/profilemanagerdialog.cpp
+++ b/plugins/ProfileEditor/forms/profilemanagerdialog.cpp
@@ -13,8 +13,8 @@ ProfileManagerDialog::ProfileManagerDialog(QHash<QString, QWebEngineProfile *> &
connect(ui->listWidget, &QListWidget::itemPressed, this, &ProfileManagerDialog::showProfile);
showProfile(nullptr);
- for(const QString &name : profiles.keys()) {
- ui->listWidget->addItem(name);
+ for(auto i = profiles.constBegin(); i != profiles.constEnd(); ++i) {
+ ui->listWidget->addItem(i.key());
}
}