author | llornkcor <llornkcor> | 2004-04-25 09:23:09 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-25 09:23:09 (UTC) |
commit | a4b1facac26431ddfcb4d31b2e6489a8a9e047b9 (patch) (unidiff) | |
tree | 0742ebba7371963c369cbfc03f17eefc605f52d5 | |
parent | 5d3c80f70109bee75d55db2a11d7112eb7ebaa99 (diff) | |
download | opie-a4b1facac26431ddfcb4d31b2e6489a8a9e047b9.zip opie-a4b1facac26431ddfcb4d31b2e6489a8a9e047b9.tar.gz opie-a4b1facac26431ddfcb4d31b2e6489a8a9e047b9.tar.bz2 |
remove embeddedkonsole hack
-rw-r--r-- | library/qpeapplication.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 10c6c40..c875ff2 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -1126,9 +1126,6 @@ bool QPEApplication::qwsEventFilter( QWSEvent * e ) | |||
1126 | d->rejectIt(); | 1126 | d->rejectIt(); |
1127 | return TRUE; | 1127 | return TRUE; |
1128 | } | 1128 | } |
1129 | else if ( strcmp( argv() [ 0 ], "embeddedkonsole" ) != 0 ) { | ||
1130 | active->close(); | ||
1131 | } | ||
1132 | } | 1129 | } |
1133 | } | 1130 | } |
1134 | else if ( ke->simpleData.keycode >= Qt::Key_F1 && ke->simpleData.keycode <= Qt::Key_F29 ) { | 1131 | else if ( ke->simpleData.keycode >= Qt::Key_F1 && ke->simpleData.keycode <= Qt::Key_F29 ) { |
@@ -2151,7 +2148,7 @@ int QPEApplication::exec() | |||
2151 | */ | 2148 | */ |
2152 | void QPEApplication::tryQuit() | 2149 | void QPEApplication::tryQuit() |
2153 | { | 2150 | { |
2154 | if ( activeModalWidget() || strcmp( argv() [ 0 ], "embeddedkonsole" ) == 0 ) | 2151 | if ( activeModalWidget() ) |
2155 | return ; // Inside modal loop or konsole. Too hard to save state. | 2152 | return ; // Inside modal loop or konsole. Too hard to save state. |
2156 | #ifndef QT_NO_COP | 2153 | #ifndef QT_NO_COP |
2157 | 2154 | ||