author | llornkcor <llornkcor> | 2004-04-25 11:17:38 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-25 11:17:38 (UTC) |
commit | 84466242f91283378aec1b1ecda0bb27eb4f6097 (patch) (side-by-side diff) | |
tree | 55fd40bfa6dbfbd3cccdb9de51551d7861603b0c | |
parent | ab09b0ec3c7fb83d6438af1e4f9cebedaeab71df (diff) | |
download | opie-84466242f91283378aec1b1ecda0bb27eb4f6097.zip opie-84466242f91283378aec1b1ecda0bb27eb4f6097.tar.gz opie-84466242f91283378aec1b1ecda0bb27eb4f6097.tar.bz2 |
remove commented
-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 @@ -1042,20 +1042,12 @@ void QPEApplication::mapToDefaultAction( QWSKeyEvent * ke, int key ) #ifdef QWS ke->simpleData.keycode = key; #endif } -// class HackWidget : public QWidget -// { -// public: -// bool needsOk() -// { -// return ( getWState() & WState_Reserved1 ); -// } -// }; /*! \internal */ #ifdef QWS @@ -1119,12 +1111,13 @@ bool QPEApplication::qwsEventFilter( QWSEvent * e ) // Escape key closes app if focus on toplevel QWidget * active = activeWindow(); 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; } } } |