aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cvs/cvsplugin.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2013-03-19 18:27:04 +0100
committerhjk <[email protected]>2013-04-04 16:47:59 +0200
commitfe29d6a8a31efe4857e4cfbc876da52c179eee89 (patch)
tree420250c0765edd8dcb58d7b707e738c81606f1c8 /src/plugins/cvs/cvsplugin.cpp
parent52575f1c62e97efd934c394d29c636cf80250674 (diff)
Core: Remove Core::Id(QByteArray) constructor
This was mostly used to disambiguate the char * and the QString constructors. Change-Id: Ib6923ef8e8c0e5d514a883e73aa001a1cd9fb534 Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r--src/plugins/cvs/cvsplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp
index 7bdc936517d..ea0ee3911bd 100644
--- a/src/plugins/cvs/cvsplugin.cpp
+++ b/src/plugins/cvs/cvsplugin.cpp
@@ -1270,7 +1270,7 @@ IEditor *CvsPlugin::showOutputInEditor(const QString& title, const QString &outp
{
const VcsBaseEditorParameters *params = findType(editorType);
QTC_ASSERT(params, return 0);
- const Id id = Core::Id(QByteArray(params->id));
+ const Id id = params->id;
if (Cvs::Constants::debug)
qDebug() << "CVSPlugin::showOutputInEditor" << title << id.name()
<< "source=" << source << "Size= " << output.size() << " Type=" << editorType << debugCodec(codec);