aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/glsleditor/glsleditorfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/glsleditor/glsleditorfactory.cpp')
-rw-r--r--src/plugins/glsleditor/glsleditorfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/glsleditor/glsleditorfactory.cpp b/src/plugins/glsleditor/glsleditorfactory.cpp
index 38663a049e..802efade31 100644
--- a/src/plugins/glsleditor/glsleditorfactory.cpp
+++ b/src/plugins/glsleditor/glsleditorfactory.cpp
@@ -93,9 +93,9 @@ Core::IFile *GLSLEditorFactory::open(const QString &fileName)
Core::IEditor *GLSLEditorFactory::createEditor(QWidget *parent)
{
- GLSLEditor::GLSLTextEditor *rc = new GLSLEditor::GLSLTextEditor(parent);
+ GLSLEditor::GLSLTextEditorWidget *rc = new GLSLEditor::GLSLTextEditorWidget(parent);
GLSLEditorPlugin::instance()->initializeEditor(rc);
- return rc->editableInterface();
+ return rc->editor();
}
QStringList GLSLEditorFactory::mimeTypes() const