diff options
Diffstat (limited to 'src/plugins/glsleditor/glslhoverhandler.cpp')
-rw-r--r-- | src/plugins/glsleditor/glslhoverhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/glsleditor/glslhoverhandler.cpp b/src/plugins/glsleditor/glslhoverhandler.cpp index 6731568b3f..0d66d51fea 100644 --- a/src/plugins/glsleditor/glslhoverhandler.cpp +++ b/src/plugins/glsleditor/glslhoverhandler.cpp @@ -35,7 +35,6 @@ #include <coreplugin/editormanager/editormanager.h> #include <coreplugin/helpmanager.h> #include <extensionsystem/pluginmanager.h> -#include <texteditor/itexteditor.h> #include <texteditor/basetexteditor.h> #include <QTextCursor> @@ -58,7 +57,7 @@ bool GLSLHoverHandler::acceptEditor(IEditor *editor) return false; } -void GLSLHoverHandler::identifyMatch(TextEditor::ITextEditor *editor, int pos) +void GLSLHoverHandler::identifyMatch(TextEditor::BaseTextEditor *editor, int pos) { if (GLSLTextEditorWidget *glslEditor = qobject_cast<GLSLTextEditorWidget *>(editor->widget())) { if (! glslEditor->extraSelectionTooltip(pos).isEmpty()) |