diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-01-28 10:58:07 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-01-29 14:16:17 +0000 |
commit | 820678e1a392329156569fa960d8f0f213e0fb48 (patch) | |
tree | 74750d641c9b3f8700810bd0ff9f5d3ecc09fad7 /src/plugins/designer | |
parent | b2bd69f6790254d4dcf9f3145e7619a92bc2641d (diff) |
Various plugins: Replace QMap with QHash
The key is a pointer, so use QHash.
Change-Id: Iad633b9e599d653606d386371b71b002baac6371
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/designer')
-rw-r--r-- | src/plugins/designer/formeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/designer/formeditor.cpp b/src/plugins/designer/formeditor.cpp index 53e40362988..46afe017d02 100644 --- a/src/plugins/designer/formeditor.cpp +++ b/src/plugins/designer/formeditor.cpp @@ -211,7 +211,7 @@ public: QWidget *m_modeWidget = nullptr; EditorWidget *m_editorWidget = nullptr; - QMap<Command *, QAction *> m_commandToDesignerAction; + QHash<Command *, QAction *> m_commandToDesignerAction; FormWindowEditorFactory *m_xmlEditorFactory = nullptr; }; |