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 <eike.ziller@digia.com>
This commit is contained in:
hjk
2013-03-19 18:27:04 +01:00
parent 52575f1c62
commit fe29d6a8a3
19 changed files with 30 additions and 39 deletions

View File

@@ -1149,7 +1149,7 @@ Core::IEditor *SubversionPlugin::showOutputInEditor(const QString &title, const
{
const VcsBase::VcsBaseEditorParameters *params = findType(editorType);
QTC_ASSERT(params, return 0);
const Core::Id id = Core::Id(QByteArray(params->id));
const Core::Id id = params->id;
if (Subversion::Constants::debug)
qDebug() << "SubversionPlugin::showOutputInEditor" << title << id.name()
<< "Size= " << output.size() << " Type=" << editorType << debugCodec(codec);