-rw-r--r-- | qt/qte232-for-qpe150-dialog.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/qte232-for-qpe150-dialog.patch b/qt/qte232-for-qpe150-dialog.patch index d1b57d8..93d5f04 100644 --- a/qt/qte232-for-qpe150-dialog.patch +++ b/qt/qte232-for-qpe150-dialog.patch @@ -1,18 +1,18 @@ ---- kernel/qwidget.cpp.orig Sat Jul 6 03:18:10 2002 -+++ kernel/qwidget.cpp Sat Jul 6 03:31:18 2002 +--- src/kernel/qwidget.cpp.orig Sat Jul 6 03:18:10 2002 ++++ src/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(); } |