-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 @@ | |||
1 | --- kernel/qwidget.cpp.origSat Jul 6 03:18:10 2002 | ||
2 | +++ kernel/qwidget.cppSat Jul 6 03:31:18 2002 | ||
3 | @@ -3198,12 +3198,14 @@ | ||
4 | static bool noMoreToplevels() | ||
5 | { | ||
6 | QWidgetList *list = qApp->topLevelWidgets(); | ||
7 | + QWidget *main = qApp->mainWidget(); | ||
8 | QWidget *widget = list->first(); | ||
9 | while ( widget ) { | ||
10 | if ( !widget->isHidden() | ||
11 | && !widget->isDesktop() | ||
12 | && !widget->isPopup() | ||
13 | - && !widget->testWFlags( Qt::WStyle_Dialog) ) | ||
14 | + && (!widget->testWFlags( Qt::WStyle_Dialog) | ||
15 | + || !widget->parentWidget())) | ||
16 | break; | ||
17 | widget = list->next(); | ||
18 | } | ||