diff options
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp b/src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp index f07f62d9ca..d4e0cdceff 100644 --- a/src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp @@ -71,9 +71,9 @@ Core::IFile *CMakeEditorFactory::open(const QString &fileName) Core::IEditor *CMakeEditorFactory::createEditor(QWidget *parent) { - CMakeEditor *rc = new CMakeEditor(parent, this, m_actionHandler); + CMakeEditorWidget *rc = new CMakeEditorWidget(parent, this, m_actionHandler); TextEditor::TextEditorSettings::instance()->initializeEditor(rc); - return rc->editableInterface(); + return rc->editor(); } QStringList CMakeEditorFactory::mimeTypes() const |