-rw-r--r-- | x11/libqpe-x11/qpe/qpeapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/libqpe-x11/qpe/qpeapplication.cpp b/x11/libqpe-x11/qpe/qpeapplication.cpp index 75a8189..49115d8 100644 --- a/x11/libqpe-x11/qpe/qpeapplication.cpp +++ b/x11/libqpe-x11/qpe/qpeapplication.cpp | |||
@@ -733,13 +733,13 @@ int QPEApplication::x11ClientMessage(QWidget* w, XEvent* event, bool b ) { | |||
733 | if ( w->inherits("QDialog" ) ) { | 733 | if ( w->inherits("QDialog" ) ) { |
734 | qWarning("inherits QDialog!!!"); | 734 | qWarning("inherits QDialog!!!"); |
735 | QDialog* dia = (QDialog*)w; | 735 | QDialog* dia = (QDialog*)w; |
736 | /* | 736 | /* |
737 | * call it directly or via QTimer::singleShot? | 737 | * call it directly or via QTimer::singleShot? |
738 | */ | 738 | */ |
739 | QTimer::singleShot(0, dia, SLOT(reject() ) ); | 739 | QTimer::singleShot(0, dia, SLOT(accept() ) ); |
740 | return 0; | 740 | return 0; |
741 | } | 741 | } |
742 | 742 | ||
743 | } | 743 | } |
744 | } | 744 | } |
745 | return QApplication::x11ClientMessage(w, event, b ); | 745 | return QApplication::x11ClientMessage(w, event, b ); |