Id: Add QByteArray constructor

Distinguish from const char * one.

QString ctor is yet to be removed

Change-Id: I2da231036c6417353b0566d39666d918ad141c6d
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Orgad Shaneh
2012-11-20 07:18:01 +02:00
committed by Orgad Shaneh
parent f31da9ac55
commit 7c4e2b6c60
55 changed files with 97 additions and 87 deletions

View File

@@ -85,7 +85,7 @@ Core::Id QmlJSEditorEditable::preferredModeType() const
// have the user also access to this failsafe setting.
if (editorWidget()->mimeType() == QLatin1String(QmlJSTools::Constants::QML_MIMETYPE)
&& openInDesignMode())
return Core::Constants::MODE_DESIGN_TYPE;
return Core::Id(Core::Constants::MODE_DESIGN_TYPE);
return Core::Id();
}