From a574a09dd7b24091a4d2093c8b046ccd32e78d63 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 18 Oct 2002 12:47:45 +0000 Subject: If a dialog get's accepted call QDialog::accept and not reject Now Opie is fully working under X11 Thanks mallum for the one and only matchbox --- (limited to 'x11/libqpe-x11') 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 @@ -736,7 +736,7 @@ int QPEApplication::x11ClientMessage(QWidget* w, XEvent* event, bool b ) { /* * call it directly or via QTimer::singleShot? */ - QTimer::singleShot(0, dia, SLOT(reject() ) ); + QTimer::singleShot(0, dia, SLOT(accept() ) ); return 0; } -- cgit v0.9.0.2