diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-12-03 11:50:43 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-12-03 11:54:00 (GMT) |
commit | 14c01d35cd132bb1a5e5725877d28d5f75c086ab (patch) | |
tree | 3555f8f23081dd0d456ca206eb03e514500206b0 /src/gui/kernel/qsoftkeymanager.cpp | |
parent | d672687a3dc79d3b59887986cf4d64cf339d7981 (diff) | |
download | Qt-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/gui/kernel/qsoftkeymanager.cpp')
-rw-r--r-- | src/gui/kernel/qsoftkeymanager.cpp | 2 |
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; |