summaryrefslogtreecommitdiff
path: root/packages/qte/qte-2.3.10/disable-dup-rotation.patch
blob: 8a2a02240de0526a0a7a590c0f74f8294d8dd164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- qte/src/kernel/kernelkeyboard.cpp	2008-05-26 16:25:23.000000000 +0100
+++ qte/src/kernel/kernelkeyboard.cpp	2008-05-26 16:27:52.000000000 +0100
@@ -627,8 +627,10 @@
     case Qt::Key_Down:
         unicode = 0xffff;
         mod_key = false;
+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX)
         if (qt_screen->isTransformed())
             qtKeyCode = static_cast<Qt::Key>( xform_dirkey(static_cast<int>( qtKeyCode ) ) );
+#endif
         break;
     /*
      * handle lock, we don't handle scroll lock!