aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakeeditor.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-01-25 15:04:50 +0100
committerEike Ziller <eike.ziller@qt.io>2019-01-29 07:57:19 +0000
commit418dcfbcbbd15a63ed261b22da3391e43e7ab8aa (patch)
tree7b176df3b7b48527fdb53d1caaa964de63800607 /src/plugins/cmakeprojectmanager/cmakeeditor.h
parentc04c5c1575e4ee425e6d2383e52a2b44e9c20fd2 (diff)
Help: Avoid multiple lookups of help id for context help
Context help would first query the database with potential IDs, and afterwards the help plugin would look up the links for the resulting ID again. Pass the HelpItem (which potentially contains the cached links) directly to context help. Change-Id: I73bddcd3cd4eacaea412b98d53c5e5354a31f3d5 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeeditor.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeeditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeeditor.h b/src/plugins/cmakeprojectmanager/cmakeeditor.h
index 364fb48c02..5e5a88fcae 100644
--- a/src/plugins/cmakeprojectmanager/cmakeeditor.h
+++ b/src/plugins/cmakeprojectmanager/cmakeeditor.h
@@ -38,7 +38,7 @@ class CMakeEditor : public TextEditor::BaseTextEditor
Q_OBJECT
public:
- void contextHelpId(const HelpIdCallback &callback) const override;
+ void contextHelp(const HelpIdCallback &callback) const override;
friend class CMakeEditorWidget;
};