summaryrefslogtreecommitdiff
path: root/src/designer/src/components/propertyeditor/designerpropertymanager.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-10-18 12:53:03 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-10-25 15:10:12 +0000
commit4935cbbdfb9dcefc36d1364c931270f98e8fb8bb (patch)
treef90a0b1df69a718d38d38eb54ed1a44a9c733871 /src/designer/src/components/propertyeditor/designerpropertymanager.cpp
parent112540645d78000ad8dfed1bca6662a10522aaf1 (diff)
downloadqttools-4935cbbdfb9dcefc36d1364c931270f98e8fb8bb.tar.gz
Qt Designer/Linguist/Assistant: Fix clazy-unused-non-trivial-variable
Change-Id: I45b89b7b0d33eb1e64daae1275661a79e27370df Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/components/propertyeditor/designerpropertymanager.cpp')
-rw-r--r--src/designer/src/components/propertyeditor/designerpropertymanager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/designer/src/components/propertyeditor/designerpropertymanager.cpp b/src/designer/src/components/propertyeditor/designerpropertymanager.cpp
index 9730dff64..670dfcc1f 100644
--- a/src/designer/src/components/propertyeditor/designerpropertymanager.cpp
+++ b/src/designer/src/components/propertyeditor/designerpropertymanager.cpp
@@ -1576,8 +1576,6 @@ void DesignerPropertyManager::reloadResourceProperties()
defaultIcon = iconCache->icon(icon);
}
- QMap<QPair<QIcon::Mode, QIcon::State>, PropertySheetPixmapValue> iconPaths = icon.paths();
-
QMap<QPair<QIcon::Mode, QIcon::State>, QtProperty *> subProperties = m_propertyToIconSubProperties.value(property);
for (auto itSub = subProperties.cbegin(), end = subProperties.cend(); itSub != end; ++itSub) {
const QPair<QIcon::Mode, QIcon::State> pair = itSub.key();