Commit d29c3dc4 authored by hjk's avatar hjk

VcsBase: Don't use deprecated Core::Id(QString)

Change-Id: Ie41e4c718dc84b2ceb2125f11359531bb3d4acf8
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 33f54d10
......@@ -566,7 +566,7 @@ VcsBase::VcsBaseEditorWidget *VcsBaseClient::createVcsEditor(const QString &kind
baseEditor = VcsBase::VcsBaseEditorWidget::getVcsBaseEditor(outputEditor);
QTC_ASSERT(baseEditor, return 0);
} else {
outputEditor = Core::EditorManager::openEditorWithContents(Core::Id(kind), &title, progressMsg);
outputEditor = Core::EditorManager::openEditorWithContents(Core::Id::fromString(kind), &title, progressMsg);
outputEditor->document()->setProperty(registerDynamicProperty, dynamicPropertyValue);
baseEditor = VcsBase::VcsBaseEditorWidget::getVcsBaseEditor(outputEditor);
connect(baseEditor, SIGNAL(annotateRevisionRequested(QString,QString,int)),
......
......@@ -512,7 +512,7 @@ struct VcsBasePluginPrivate
};
VcsBasePluginPrivate::VcsBasePluginPrivate(const QString &submitEditorId) :
m_submitEditorId(submitEditorId),
m_submitEditorId(Core::Id::fromString(submitEditorId)),
m_versionControl(0),
m_actionState(-1),
m_testSnapshotAction(0),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment