summaryrefslogtreecommitdiff
path: root/packages/qte/qte-2.3.10/disable-dup-rotation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qte/qte-2.3.10/disable-dup-rotation.patch')
-rw-r--r--packages/qte/qte-2.3.10/disable-dup-rotation.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/qte/qte-2.3.10/disable-dup-rotation.patch b/packages/qte/qte-2.3.10/disable-dup-rotation.patch
index ae2332c5f0..8a2a02240d 100644
--- a/packages/qte/qte-2.3.10/disable-dup-rotation.patch
+++ b/packages/qte/qte-2.3.10/disable-dup-rotation.patch
@@ -1,13 +1,13 @@
---- qte/src/kernel/kernelkeyboard.cpp 2008-04-04 11:07:42.000000000 +0100
-+++ qte/src/kernel/kernelkeyboard.cpp 2008-04-04 11:07:45.000000000 +0100
-@@ -627,8 +627,8 @@
+--- 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 (qt_screen->isTransformed())
-- qtKeyCode = static_cast<Qt::Key>( xform_dirkey(static_cast<int>( qtKeyCode ) ) );
-+// if (qt_screen->isTransformed())
-+// qtKeyCode = static_cast<Qt::Key>( xform_dirkey(static_cast<int>( qtKeyCode ) ) );
++#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!