summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-02-26 16:49:58 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-02-26 16:49:58 (GMT)
commit7f018afe5ab8c2077880a239b0ab5ecbdb1d5b7d (patch)
tree27bbf204f0fac8d99b4b4056337fc66c2733b24d /demos
parent27e403d9c6185c606980bb7881e39a2c88138a13 (diff)
parent5d1d426afe07458a91b4908881554653285ed04c (diff)
downloadQt-7f018afe5ab8c2077880a239b0ab5ecbdb1d5b7d.zip
Qt-7f018afe5ab8c2077880a239b0ab5ecbdb1d5b7d.tar.gz
Qt-7f018afe5ab8c2077880a239b0ab5ecbdb1d5b7d.tar.bz2
Merge remote branch 'origin/4.6' into qt-master-from-4.6
Conflicts: mkspecs/common/symbian/symbian.conf qmake/generators/symbian/initprojectdeploy_symbian.cpp qmake/generators/symbian/symmake_abld.h
Diffstat (limited to 'demos')
-rw-r--r--demos/embedded/desktopservices/contenttab.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/demos/embedded/desktopservices/contenttab.cpp b/demos/embedded/desktopservices/contenttab.cpp
index 8714b9c..fa9c586 100644
--- a/demos/embedded/desktopservices/contenttab.cpp
+++ b/demos/embedded/desktopservices/contenttab.cpp
@@ -114,20 +114,6 @@ QUrl ContentTab::itemUrl(QListWidgetItem *item)
void ContentTab::keyPressEvent(QKeyEvent *event)
{
switch (event->key()) {
- case Qt::Key_Up:
- if (currentRow() == 0) {
- setCurrentRow(count() - 1);
- } else {
- setCurrentRow(currentRow() - 1);
- }
- break;
- case Qt::Key_Down:
- if (currentRow() == (count() - 1)) {
- setCurrentRow(0);
- } else {
- setCurrentRow(currentRow() + 1);
- }
- break;
case Qt::Key_Select:
openItem(currentItem());
default: