summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-06 16:40:00 (GMT)
committerMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-06 16:40:00 (GMT)
commit93922e26a2411c0f11e7cdc49b306823e23cda8b (patch)
tree8ae5ae8eff95dc4793d67d50e04d1855cfcc07e4 /src/gui/itemviews
parentfcb5ca1ef0a1c1639624d951b03750abc631e60d (diff)
downloadQt-93922e26a2411c0f11e7cdc49b306823e23cda8b.zip
Qt-93922e26a2411c0f11e7cdc49b306823e23cda8b.tar.gz
Qt-93922e26a2411c0f11e7cdc49b306823e23cda8b.tar.bz2
Fixes to make gui compile after clean configure. Removal
of QSoftKeyStack broke compilation on clean environment...
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qabstractitemview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/itemviews/qabstractitemview.cpp b/src/gui/itemviews/qabstractitemview.cpp
index 187e2cd..69e630e 100644
--- a/src/gui/itemviews/qabstractitemview.cpp
+++ b/src/gui/itemviews/qabstractitemview.cpp
@@ -61,6 +61,7 @@
#ifndef QT_NO_ACCESSIBILITY
#include <qaccessible.h>
#endif
+#include <qkeyeventsoftkey.h>
QT_BEGIN_NAMESPACE
@@ -2003,7 +2004,7 @@ void QAbstractItemView::keyPressEvent(QKeyEvent *event)
if (QApplication::keypadNavigationEnabled()) {
if (!hasEditFocus()) {
setEditFocus(true);
- QKeyEventSoftKey::addSoftKey(QAction::Back, Qt::Key_Back, this);
+ QKeyEventSoftKey::addSoftKey(QAction::BackSoftKey, Qt::Key_Back, this);
return;
}
}