summaryrefslogtreecommitdiff
path: root/src/plugins/cvs
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-10 11:36:51 +0100
committerhjk <qthjk@ovi.com>2011-11-10 15:57:09 +0100
commit82f5573626c8e952653c091eceed21ff23677834 (patch)
treeb4c884f581be2686495418c950c02c4fc3d09740 /src/plugins/cvs
parentcfc9b71ecb4b5f0d630996d4e60aea04cd8d5aad (diff)
downloadqt-creator-82f5573626c8e952653c091eceed21ff23677834.tar.gz
more Id type fixes
Change-Id: I3720946ba5485696822976567d83b4d6cb1fb283 x Change-Id: Iab58bc34bc56371405d132315573b484a533b77c Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/cvs')
-rw-r--r--src/plugins/cvs/cvsplugin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp
index 5f29923d5b..fb1f027531 100644
--- a/src/plugins/cvs/cvsplugin.cpp
+++ b/src/plugins/cvs/cvsplugin.cpp
@@ -1284,9 +1284,10 @@ Core::IEditor * CVSPlugin::showOutputInEditor(const QString& title, const QStrin
{
const VCSBase::VCSBaseEditorParameters *params = findType(editorType);
QTC_ASSERT(params, return 0);
- const QString id = params->id;
+ const Core::Id id = params->id;
if (CVS::Constants::debug)
- qDebug() << "CVSPlugin::showOutputInEditor" << title << id << "source=" << source << "Size= " << output.size() << " Type=" << editorType << debugCodec(codec);
+ qDebug() << "CVSPlugin::showOutputInEditor" << title << id.name()
+ << "source=" << source << "Size= " << output.size() << " Type=" << editorType << debugCodec(codec);
QString s = title;
Core::IEditor *editor = Core::EditorManager::instance()->openEditorWithContents(id, &s, output.toLocal8Bit());
connect(editor, SIGNAL(annotateRevisionRequested(QString,QString,int)),