aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/glsleditor/glslhoverhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/glsleditor/glslhoverhandler.cpp')
-rw-r--r--src/plugins/glsleditor/glslhoverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/glsleditor/glslhoverhandler.cpp b/src/plugins/glsleditor/glslhoverhandler.cpp
index 18682afd12..36ff186af9 100644
--- a/src/plugins/glsleditor/glslhoverhandler.cpp
+++ b/src/plugins/glsleditor/glslhoverhandler.cpp
@@ -63,7 +63,7 @@ bool GLSLHoverHandler::acceptEditor(IEditor *editor)
void GLSLHoverHandler::identifyMatch(TextEditor::ITextEditor *editor, int pos)
{
- if (GLSLTextEditor *glslEditor = qobject_cast<GLSLTextEditor *>(editor->widget())) {
+ if (GLSLTextEditorWidget *glslEditor = qobject_cast<GLSLTextEditorWidget *>(editor->widget())) {
if (! glslEditor->extraSelectionTooltip(pos).isEmpty()) {
setToolTip(glslEditor->extraSelectionTooltip(pos));
}