diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-02 11:02:42 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-02 11:02:42 +0200 |
commit | 3533e0d4cce3e7af2df8e6c42f462315da8c9df8 (patch) | |
tree | ff19b54818708f122f4dc501fcaf80594b8b99a2 /plugins | |
parent | Fix hg bookmark not showing up in arch build version (diff) | |
download | smolbote-3533e0d4cce3e7af2df8e6c42f462315da8c9df8.tar.xz |
Clazy fixes
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ProfileEditor/forms/profilemanagerdialog.cpp | 4 |
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()); } } |