forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
f31da9ac55
commit
7c4e2b6c60
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user