From d80fb696aba1594afa76d0573d79e9aa9da09005 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 10 Dec 2013 17:13:21 +0100 Subject: 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 --- src/plugins/pythoneditor/pythoneditorplugin.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/plugins/pythoneditor/pythoneditorplugin.h') diff --git a/src/plugins/pythoneditor/pythoneditorplugin.h b/src/plugins/pythoneditor/pythoneditorplugin.h index 529d30202c..895a94e2f5 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.h +++ b/src/plugins/pythoneditor/pythoneditorplugin.h @@ -31,9 +31,7 @@ #define PYTHONEDITOR_PLUGIN_H #include -#include #include -#include namespace PythonEditor { namespace Internal { @@ -65,7 +63,6 @@ public: private: static PythonEditorPlugin *m_instance; EditorFactory *m_factory; - TextEditor::TextEditorActionHandler *m_actionHandler; QSet m_keywords; QSet m_magics; QSet m_builtins; -- cgit v1.2.1