diff options
author | mae <[email protected]> | 2009-01-16 17:34:34 +0100 |
---|---|---|
committer | mae <[email protected]> | 2009-01-16 17:34:34 +0100 |
commit | c0c534238607c92d443c3f99d4fbeaefeca73804 (patch) | |
tree | ab13346c94299677e7d679b95caadcb2c90605e7 /src/plugins/git/gitclient.cpp | |
parent | aaf7c8bc89c59a5858aff598581f7760d508ade9 (diff) |
first edition of the new editor view, splitting still missing
Diffstat (limited to 'src/plugins/git/gitclient.cpp')
-rw-r--r-- | src/plugins/git/gitclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 81820b8fa0f..44ee65bce0f 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -74,7 +74,7 @@ static inline QString msgServerFailure() inline Core::IEditor* locateEditor(const Core::ICore *core, const char *property, const QString &entry) { foreach (Core::IEditor *ed, core->editorManager()->openedEditors()) - if (ed->property(property).toString() == entry) + if (ed->file()->property(property).toString() == entry) return ed; return 0; } @@ -173,7 +173,7 @@ VCSBase::VCSBaseEditor } else { // Create new, set wait message, set up with source and codec outputEditor = m_core->editorManager()->newFile(kind, &title, m_msgWait); - outputEditor->setProperty(registerDynamicProperty, dynamicPropertyValue); + outputEditor->file()->setProperty(registerDynamicProperty, dynamicPropertyValue); rc = VCSBase::VCSBaseEditor::getVcsBaseEditor(outputEditor); QTC_ASSERT(rc, return 0); rc->setSource(source); |