From 14c01d35cd132bb1a5e5725877d28d5f75c086ab Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Thu, 3 Dec 2009 13:50:43 +0200 Subject: Fixed "...QString::QString(const char *)... is deprecated" warning. Task-number: QTBUG-6290 Reviewed-by: TrustMe --- src/gui/kernel/qsoftkeymanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &softkeys) break; } - int command = (softKeyAction->objectName().contains("_q_menuSoftKeyAction")) + int command = (softKeyAction->objectName().contains(QLatin1String("_q_menuSoftKeyAction"))) ? EAknSoftkeyOptions : s60CommandStart + index; -- cgit v0.12