summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index c875ff2..86dbe85 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -1044,16 +1044,8 @@ void QPEApplication::mapToDefaultAction( QWSKeyEvent * ke, int key )
ke->simpleData.keycode = key;
#endif
}
-// class HackWidget : public QWidget
-// {
-// public:
-// bool needsOk()
-// {
-// return ( getWState() & WState_Reserved1 );
-// }
-// };
/*!
\internal
*/
@@ -1121,8 +1113,9 @@ bool QPEApplication::qwsEventFilter( QWSEvent * e )
if ( active && active->testWFlags( WType_TopLevel ) &&
( 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;
}