summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-05-17 11:10:18 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-17 03:27:15 +0200
commiteb2ae89dc043a0c0be419de2f2f76016e360b4dd (patch)
tree43c9e8efd982cec3ab1884f0cd2828de07efaba3 /src
parent4575c1fda70f8b8e1ac4959ad9386964cb9a6222 (diff)
Don't use bare strings.
wrap with QLatin1Sring Change-Id: Ifc89212e95b990e45f4c38e8e23e292e5f8cc604 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/sensors/gestures/qsensorgesturemanagerprivate.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sensors/gestures/qsensorgesturemanagerprivate.cpp b/src/sensors/gestures/qsensorgesturemanagerprivate.cpp
index 15fccdb9..e3c5f3db 100644
--- a/src/sensors/gestures/qsensorgesturemanagerprivate.cpp
+++ b/src/sensors/gestures/qsensorgesturemanagerprivate.cpp
@@ -225,9 +225,9 @@ void QSensorGestureManagerPrivate::recognizerStarted()
{
QSensorGestureRecognizer *recognizer = qobject_cast<QSensorGestureRecognizer *>(sender());
QStringList list = recognizer->gestureSignals();
- list.removeOne("detected(QString)");
- list.removeOne("started()");
- list.removeOne("stopped()");
+ list.removeOne(QLatin1String("detected(QString)"));
+ list.removeOne(QLatin1String("started()"));
+ list.removeOne(QLatin1String("stopped()"));
Q_EMIT newSensorGestures(list);
}
@@ -235,9 +235,9 @@ void QSensorGestureManagerPrivate::recognizerStopped()
{
QSensorGestureRecognizer *recognizer = qobject_cast<QSensorGestureRecognizer *>(sender());
QStringList list = recognizer->gestureSignals();
- list.removeOne("detected(QString)");
- list.removeOne("started()");
- list.removeOne("stopped()");
+ list.removeOne(QLatin1String("detected(QString)"));
+ list.removeOne(QLatin1String("started()"));
+ list.removeOne(QLatin1String("stopped()"));
Q_EMIT removeSensorGestures(list);
}