aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/glsleditor/glsleditorplugin.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-30 13:08:05 +0200
committerhjk <hjk121@nokiamail.com>2014-09-30 15:46:34 +0200
commitbeef4807837101aa710ffba556c8fe362f92e026 (patch)
tree0eb5683aa6e44a63794e2c80f028dee96c2fd663 /src/plugins/glsleditor/glsleditorplugin.cpp
parentb1cc98f79beaca3aff62ebecbeb227c18cc2b896 (diff)
TextEditor: Simplify HoverHandler handling
The editor factories are already a central place to associate hover handlers with editors, no need to retrieve them later from the object pool again. This also allows for easy handling of more than one active handler per editor. Change-Id: Ie716b96f5ce6b526ee897468635e03e909d81538 Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/glsleditor/glsleditorplugin.cpp')
-rw-r--r--src/plugins/glsleditor/glsleditorplugin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/glsleditor/glsleditorplugin.cpp b/src/plugins/glsleditor/glsleditorplugin.cpp
index 3034bbaad0e..48485ef2ff9 100644
--- a/src/plugins/glsleditor/glsleditorplugin.cpp
+++ b/src/plugins/glsleditor/glsleditorplugin.cpp
@@ -33,7 +33,6 @@
#include "glsleditorconstants.h"
#include "glslfilewizard.h"
#include "glslhighlighter.h"
-#include "glslhoverhandler.h"
#include <glsl/glslengine.h>
#include <glsl/glslparser.h>
@@ -128,7 +127,6 @@ bool GlslEditorPlugin::initialize(const QStringList & /*arguments*/, QString *er
if (!MimeDatabase::addMimeTypes(QLatin1String(":/glsleditor/GLSLEditor.mimetypes.xml"), errorMessage))
return false;
- addAutoReleasedObject(new GlslHoverHandler(this));
addAutoReleasedObject(new GlslEditorFactory);
addAutoReleasedObject(new GlslCompletionAssistProvider);