summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-12-03 11:50:43 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-12-03 11:54:00 (GMT)
commit14c01d35cd132bb1a5e5725877d28d5f75c086ab (patch)
tree3555f8f23081dd0d456ca206eb03e514500206b0 /src
parentd672687a3dc79d3b59887986cf4d64cf339d7981 (diff)
downloadQt-14c01d35cd132bb1a5e5725877d28d5f75c086ab.zip
Qt-14c01d35cd132bb1a5e5725877d28d5f75c086ab.tar.gz
Qt-14c01d35cd132bb1a5e5725877d28d5f75c086ab.tar.bz2
Fixed "...QString::QString(const char *)... is deprecated" warning.
Task-number: QTBUG-6290 Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qsoftkeymanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qsoftkeymanager.cpp b/src/gui/kernel/qsoftkeymanager.cpp
index 1acc9b3..30c67f4 100644
--- a/src/gui/kernel/qsoftkeymanager.cpp
+++ b/src/gui/kernel/qsoftkeymanager.cpp
@@ -246,7 +246,7 @@ void QSoftKeyManagerPrivate::updateSoftKeys_sys(const QList<QAction*> &softkeys)
break;
}
- int command = (softKeyAction->objectName().contains("_q_menuSoftKeyAction"))
+ int command = (softKeyAction->objectName().contains(QLatin1String("_q_menuSoftKeyAction")))
? EAknSoftkeyOptions
: s60CommandStart + index;