diff options
Diffstat (limited to 'src/plugins/languageclient/languageclientutils.cpp')
-rw-r--r-- | src/plugins/languageclient/languageclientutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/languageclient/languageclientutils.cpp b/src/plugins/languageclient/languageclientutils.cpp index a97bd7ff50..4b10ccdd54 100644 --- a/src/plugins/languageclient/languageclientutils.cpp +++ b/src/plugins/languageclient/languageclientutils.cpp @@ -207,7 +207,7 @@ void updateEditorToolBar(Core::IEditor *editor) TextDocument *document = textEditor->textDocument(); Client *client = LanguageClientManager::clientForDocument(textEditor->textDocument()); - static QMap<QWidget *, QAction *> actions; + static QHash<QWidget *, QAction *> actions; if (actions.contains(widget)) { auto action = actions[widget]; @@ -253,7 +253,7 @@ void updateEditorToolBar(Core::IEditor *editor) }); } - static QMap<QWidget *, QPair<Client *, QAction *>> outlines; + static QHash<QWidget *, QPair<Client *, QAction *>> outlines; if (outlines.contains(widget)) { auto outline = outlines[widget]; |