aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2012-11-26 21:18:13 +0200
committerOrgad Shaneh <orgads@gmail.com>2012-11-27 10:40:47 +0100
commitf739c85c720c917698621664dd537b6863d07a49 (patch)
tree2e6b94ff003540655822db7ee3c9e4beb04054e7 /src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
parentdba973c9331a5ba6c4d534d2a4876e683a6db39e (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/qmlprofilerstatemanager.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp b/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
index 1f2c98559de..4149b90e8d1 100644
--- a/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
@@ -40,14 +40,14 @@ namespace Internal {
inline QString stringForState(int state) {
switch (state) {
- case QmlProfilerStateManager::Idle: return QString("Idle");
- case QmlProfilerStateManager::AppStarting: return QString("AppStarting");
- case QmlProfilerStateManager::AppRunning: return QString("AppRunning");
- case QmlProfilerStateManager::AppStopRequested: return QString("AppStopRequested");
- case QmlProfilerStateManager::AppReadyToStop: return QString("AppReadyToStop");
- case QmlProfilerStateManager::AppStopped: return QString("AppStopped");
- case QmlProfilerStateManager::AppDying: return QString("AppDying");
- case QmlProfilerStateManager::AppKilled: return QString("AppKilled");
+ case QmlProfilerStateManager::Idle: return QLatin1String("Idle");
+ case QmlProfilerStateManager::AppStarting: return QLatin1String("AppStarting");
+ case QmlProfilerStateManager::AppRunning: return QLatin1String("AppRunning");
+ case QmlProfilerStateManager::AppStopRequested: return QLatin1String("AppStopRequested");
+ case QmlProfilerStateManager::AppReadyToStop: return QLatin1String("AppReadyToStop");
+ case QmlProfilerStateManager::AppStopped: return QLatin1String("AppStopped");
+ case QmlProfilerStateManager::AppDying: return QLatin1String("AppDying");
+ case QmlProfilerStateManager::AppKilled: return QLatin1String("AppKilled");
default: break;
}
return QString();