diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2012-11-26 21:18:13 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2012-11-27 10:40:47 +0100 |
commit | f739c85c720c917698621664dd537b6863d07a49 (patch) | |
tree | 2e6b94ff003540655822db7ee3c9e4beb04054e7 /src/plugins/qmlprofiler/localqmlprofilerrunner.cpp | |
parent | dba973c9331a5ba6c4d534d2a4876e683a6db39e (diff) |
QmlProfiler: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: I99c96e723e80ec318acd9300b4f44e7c3ce37485
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/localqmlprofilerrunner.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/localqmlprofilerrunner.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp index 6b588309a7..4317ac150f 100644 --- a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp +++ b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp @@ -43,11 +43,10 @@ LocalQmlProfilerRunner::LocalQmlProfilerRunner(const Configuration &configuratio void LocalQmlProfilerRunner::start() { - QString arguments = QString("-qmljsdebugger=port:%1,block").arg( - QString::number(m_configuration.port)); + QString arguments = QString::fromLatin1("-qmljsdebugger=port:%1,block").arg(m_configuration.port); if (!m_configuration.executableArguments.isEmpty()) - arguments += QChar(' ') + m_configuration.executableArguments; + arguments += QLatin1Char(' ') + m_configuration.executableArguments; if (QmlProfilerPlugin::debugOutput) qWarning("QmlProfiler: Launching %s:%d", qPrintable(m_configuration.executable), |