diff options
Diffstat (limited to 'src/designer/src/components/propertyeditor/brushpropertymanager.h')
-rw-r--r-- | src/designer/src/components/propertyeditor/brushpropertymanager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/designer/src/components/propertyeditor/brushpropertymanager.h b/src/designer/src/components/propertyeditor/brushpropertymanager.h index 6c469a7a5..478934a49 100644 --- a/src/designer/src/components/propertyeditor/brushpropertymanager.h +++ b/src/designer/src/components/propertyeditor/brushpropertymanager.h @@ -4,7 +4,7 @@ #ifndef BRUSHPROPERTYMANAGER_H #define BRUSHPROPERTYMANAGER_H -#include <QtCore/qmap.h> +#include <QtCore/qhash.h> #include <QtGui/qbrush.h> #include <QtGui/qicon.h> @@ -48,13 +48,13 @@ private: static const QMap<int, QIcon> &brushStyleIcons(); - using PropertyToPropertyMap = QMap<QtProperty *, QtProperty *>; + using PropertyToPropertyMap = QHash<QtProperty *, QtProperty *>; PropertyToPropertyMap m_brushPropertyToStyleSubProperty; PropertyToPropertyMap m_brushPropertyToColorSubProperty; PropertyToPropertyMap m_brushStyleSubPropertyToProperty; PropertyToPropertyMap m_brushColorSubPropertyToProperty; - QMap<QtProperty *, QBrush> m_brushValues; + QHash<QtProperty *, QBrush> m_brushValues; }; } |