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