diff options
Diffstat (limited to 'src/plugins/qt4projectmanager/profileeditorfactory.cpp')
-rw-r--r-- | src/plugins/qt4projectmanager/profileeditorfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qt4projectmanager/profileeditorfactory.cpp b/src/plugins/qt4projectmanager/profileeditorfactory.cpp index 0366de390f..20dea31896 100644 --- a/src/plugins/qt4projectmanager/profileeditorfactory.cpp +++ b/src/plugins/qt4projectmanager/profileeditorfactory.cpp @@ -78,10 +78,10 @@ QString ProFileEditorFactory::displayName() const return tr(Qt4ProjectManager::Constants::PROFILE_EDITOR_DISPLAY_NAME); } -Core::IFile *ProFileEditorFactory::open(const QString &fileName) +Core::IDocument *ProFileEditorFactory::open(const QString &fileName) { Core::IEditor *iface = Core::EditorManager::instance()->openEditor(fileName, id()); - return iface ? iface->file() : 0; + return iface ? iface->document() : 0; } Core::IEditor *ProFileEditorFactory::createEditor(QWidget *parent) |