summaryrefslogtreecommitdiff
path: root/src/plugins/glsleditor/glsleditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/glsleditor/glsleditor.cpp')
-rw-r--r--src/plugins/glsleditor/glsleditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/glsleditor/glsleditor.cpp b/src/plugins/glsleditor/glsleditor.cpp
index 6a6f9a1f69..e9a7a1738c 100644
--- a/src/plugins/glsleditor/glsleditor.cpp
+++ b/src/plugins/glsleditor/glsleditor.cpp
@@ -420,7 +420,7 @@ TextEditor::IAssistInterface *GLSLTextEditorWidget::createAssistInterface(
if (kind == TextEditor::Completion)
return new GLSLCompletionAssistInterface(document(),
position(),
- editor()->file(),
+ editor()->document(),
reason,
mimeType(),
glslDocument());