From: Elvis Angelaccio Date: Sun, 1 Apr 2018 10:14:34 +0000 (+0200) Subject: Use QHash rather than QMap X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/763933977b87daf3c013962879b55c9391c20e41 Use QHash rather than QMap As recommended by the clazy qmap-with-pointer-key check. --- diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp index 1f81a1eaa..00d8735c3 100644 --- a/src/panels/places/placespanel.cpp +++ b/src/panels/places/placespanel.cpp @@ -291,7 +291,7 @@ void PlacesPanel::slotViewContextMenuRequested(const QPointF& pos) {KIconLoader::SizeLarge, I18N_NOOP2_NOSTRIP("Huge icon size", "Huge (%1x%2)")} }; - QMap iconSizeActionMap; + QHash iconSizeActionMap; QActionGroup* iconSizeGroup = new QActionGroup(iconSizeSubMenu); for (int i = 0; i < iconSizeCount; ++i) {