Commit dec37e6d authored by Alessandro Portale's avatar Alessandro Portale

QmlDesigner: QT_NO_CAST_FROM_ASCII

No need to be special in this regard.

Change-Id: If84ca4c84c1972171ffdc9ee25e426c454c39e6e
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent b48f6e6b
......@@ -44,12 +44,12 @@ ComponentsPlugin::ComponentsPlugin()
QString ComponentsPlugin::pluginName() const
{
return ("ComponentsPlugin");
return QLatin1String("ComponentsPlugin");
}
QString ComponentsPlugin::metaInfo() const
{
return QString(":/componentsplugin/components.metainfo");
return QLatin1String(":/componentsplugin/components.metainfo");
}
}
......
INCLUDEPATH += $$PWD/include
DEFINES -= QT_NO_CAST_FROM_ASCII
......@@ -36,12 +36,12 @@ QtQuickPlugin::QtQuickPlugin()
QString QtQuickPlugin::pluginName() const
{
return ("QtQuickPlugin");
return QLatin1String("QtQuickPlugin");
}
QString QtQuickPlugin::metaInfo() const
{
return QString(":/qtquickplugin/quick.metainfo");
return QLatin1String(":/qtquickplugin/quick.metainfo");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment