aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditoractionhandler.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-12-10 17:13:21 +0100
committerEike Ziller <eike.ziller@digia.com>2013-12-12 09:59:55 +0100
commitd80fb696aba1594afa76d0573d79e9aa9da09005 (patch)
treecd5b442a8668596052596dc44e5f7e59952e2e03 /src/plugins/texteditor/texteditoractionhandler.h
parent3d1b70c58e0d2eea47572ec4a018a18674508f9b (diff)
Give TextEditorActionHandler an explicit parent and unify usage.
The action handler implicitly passed ownership to ICore, which is non- to the action handler. We now consistently create the action handler in the editor factory, give ownership to the editor factory, and don't hold a reference to it. Change-Id: I4372f8de966e3ceff87c06c5528c6b54522c1d57 Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.h')
-rw-r--r--src/plugins/texteditor/texteditoractionhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h
index eaea4735cf..bee5dc293b 100644
--- a/src/plugins/texteditor/texteditoractionhandler.h
+++ b/src/plugins/texteditor/texteditoractionhandler.h
@@ -65,7 +65,7 @@ public:
JumpToFileUnderCursor = 16
};
- explicit TextEditorActionHandler(Core::Id contextId, uint optionalActions = None);
+ explicit TextEditorActionHandler(QObject *parent, Core::Id contextId, uint optionalActions = None);
~TextEditorActionHandler();
protected: