From 84466242f91283378aec1b1ecda0bb27eb4f6097 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 25 Apr 2004 11:17:38 +0000 Subject: remove commented --- (limited to 'library/qpeapplication.cpp') diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index c875ff2..86dbe85 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -1045,14 +1045,6 @@ void QPEApplication::mapToDefaultAction( QWSKeyEvent * ke, int key ) #endif } -// class HackWidget : public QWidget -// { -// public: -// bool needsOk() -// { -// return ( getWState() & WState_Reserved1 ); -// } -// }; /*! \internal @@ -1122,6 +1114,7 @@ bool QPEApplication::qwsEventFilter( QWSEvent * e ) ( int ) active->winId() == ke->simpleData.window && !active->testWFlags( WStyle_Dialog | WStyle_Customize | WType_Popup | WType_Desktop ) ) { if ( active->inherits( "QDialog" ) ) { + qDebug("dialog hack"); HackDialog * d = ( HackDialog * ) active; d->rejectIt(); return TRUE; -- cgit v0.9.0.2