summaryrefslogtreecommitdiff
path: root/qt/qte234-for-opie091-popupmenu.patch
Side-by-side diff
Diffstat (limited to 'qt/qte234-for-opie091-popupmenu.patch') (more/less context) (show whitespace changes)
-rw-r--r--qt/qte234-for-opie091-popupmenu.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt/qte234-for-opie091-popupmenu.patch b/qt/qte234-for-opie091-popupmenu.patch
new file mode 100644
index 0000000..f942ada
--- a/dev/null
+++ b/qt/qte234-for-opie091-popupmenu.patch
@@ -0,0 +1,11 @@
+--- src/kernel/qapplication_qws.cpp 2002-12-08 21:51:08.000000000 +0100
++++ src/kernel/qapplication_qws.cpp.orig 2002-12-08 18:06:22.000000000 +0100
+@@ -3278,7 +3278,7 @@
+ if ( qApp->inPopupMode() ) { // in popup mode
+ QWidget *popup = qApp->activePopupWidget();
+ if ( popup != this ) {
+- if ( testWFlags(WType_Popup) && rect().contains(pos) && !popup->rect().contains(popup-> mapFromGlobal(mapToGlobal(pos))) )
++ if ( testWFlags(WType_Popup) && rect().contains(pos) )
+ popup = this;
+ else // send to last popup
+ pos = popup->mapFromGlobal( globalPos );