-rw-r--r-- | library/qpeapplication.cpp | 9 |
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 ) | |||
1044 | ke->simpleData.keycode = key; | 1044 | ke->simpleData.keycode = key; |
1045 | #endif | 1045 | #endif |
1046 | } | 1046 | } |
1047 | 1047 | ||
1048 | // class HackWidget : public QWidget | ||
1049 | // { | ||
1050 | // public: | ||
1051 | // bool needsOk() | ||
1052 | // { | ||
1053 | // return ( getWState() & WState_Reserved1 ); | ||
1054 | // } | ||
1055 | // }; | ||
1056 | 1048 | ||
1057 | /*! | 1049 | /*! |
1058 | \internal | 1050 | \internal |
1059 | */ | 1051 | */ |
@@ -1121,8 +1113,9 @@ bool QPEApplication::qwsEventFilter( QWSEvent * e ) | |||
1121 | if ( active && active->testWFlags( WType_TopLevel ) && | 1113 | if ( active && active->testWFlags( WType_TopLevel ) && |
1122 | ( int ) active->winId() == ke->simpleData.window && | 1114 | ( int ) active->winId() == ke->simpleData.window && |
1123 | !active->testWFlags( WStyle_Dialog | WStyle_Customize | WType_Popup | WType_Desktop ) ) { | 1115 | !active->testWFlags( WStyle_Dialog | WStyle_Customize | WType_Popup | WType_Desktop ) ) { |
1124 | if ( active->inherits( "QDialog" ) ) { | 1116 | if ( active->inherits( "QDialog" ) ) { |
1117 | qDebug("dialog hack"); | ||
1125 | HackDialog * d = ( HackDialog * ) active; | 1118 | HackDialog * d = ( HackDialog * ) active; |
1126 | d->rejectIt(); | 1119 | d->rejectIt(); |
1127 | return TRUE; | 1120 | return TRUE; |
1128 | } | 1121 | } |