summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlessandro Portale <aportale@trolltech.com>2009-05-19 18:14:58 (GMT)
committerAlessandro Portale <aportale@trolltech.com>2009-05-19 18:14:58 (GMT)
commitade1bdc75245bb233022b1cc0358b89df2180466 (patch)
tree63cecf9743cab7b9906919c99556d6d4f9cf0db7 /src
parent1588c0fe43f2173e026d7b52bdea0cf85b18ea1d (diff)
downloadQt-ade1bdc75245bb233022b1cc0358b89df2180466.zip
Qt-ade1bdc75245bb233022b1cc0358b89df2180466.tar.gz
Qt-ade1bdc75245bb233022b1cc0358b89df2180466.tar.bz2
Not using deprecated QString constructor
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/qsoftkeystack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/qsoftkeystack.cpp b/src/gui/widgets/qsoftkeystack.cpp
index 32a2df9..ae58e8d 100644
--- a/src/gui/widgets/qsoftkeystack.cpp
+++ b/src/gui/widgets/qsoftkeystack.cpp
@@ -129,8 +129,8 @@ void QSoftKeyStack::handleFocusChanged(QWidget *old, QWidget *now)
Qt::ContextMenuPolicy policy = now->contextMenuPolicy();
if (policy != Qt::NoContextMenu && policy != Qt::PreventContextMenu ) {
QList<QSoftKeyAction*> actionList;
- QSoftKeyAction* menu = new QSoftKeyAction(QSoftKeyAction::Menu, QString("Menu"), now);
- QSoftKeyAction* contextMenu = new QSoftKeyAction(QSoftKeyAction::ContextMenu, QString("ContextMenu"), now);
+ QSoftKeyAction* menu = new QSoftKeyAction(QSoftKeyAction::Menu, QString::fromLatin1("Menu"), now);
+ QSoftKeyAction* contextMenu = new QSoftKeyAction(QSoftKeyAction::ContextMenu, QString::fromLatin1("ContextMenu"), now);
actionList.append(menu);
actionList.append(contextMenu);
softKeyStack->push(actionList);