Diffstat (limited to 'qt/qte232-for-qpe150-dialog.patch') (more/less context) (show whitespace changes)
-rw-r--r-- | qt/qte232-for-qpe150-dialog.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qt/qte232-for-qpe150-dialog.patch b/qt/qte232-for-qpe150-dialog.patch new file mode 100644 index 0000000..d1b57d8 --- a/dev/null +++ b/qt/qte232-for-qpe150-dialog.patch @@ -0,0 +1,18 @@ +--- kernel/qwidget.cpp.orig Sat Jul 6 03:18:10 2002 ++++ kernel/qwidget.cpp Sat Jul 6 03:31:18 2002 +@@ -3198,12 +3198,14 @@ + static bool noMoreToplevels() + { + QWidgetList *list = qApp->topLevelWidgets(); ++ QWidget *main = qApp->mainWidget(); + QWidget *widget = list->first(); + while ( widget ) { + if ( !widget->isHidden() + && !widget->isDesktop() + && !widget->isPopup() +- && !widget->testWFlags( Qt::WStyle_Dialog) ) ++ && (!widget->testWFlags( Qt::WStyle_Dialog) ++ || !widget->parentWidget())) + break; + widget = list->next(); + } |