┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2018-04-01 12:14:34 +0200
committerElvis Angelaccio <[email protected]>2018-04-01 12:14:34 +0200
commit763933977b87daf3c013962879b55c9391c20e41 (patch)
tree39480cddb4c122dca5408fb1bdff45887ed691c1 /src
parentd0503ae8e05ae58338d30216da70276129cf32cf (diff)
Use QHash rather than QMap
As recommended by the clazy qmap-with-pointer-key check.
Diffstat (limited to 'src')
-rw-r--r--src/panels/places/placespanel.cpp2
1 files changed, 1 insertions, 1 deletions
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<QAction*, int> iconSizeActionMap;
+ QHash<QAction*, int> iconSizeActionMap;
QActionGroup* iconSizeGroup = new QActionGroup(iconSizeSubMenu);
for (int i = 0; i < iconSizeCount; ++i) {