From a4b1facac26431ddfcb4d31b2e6489a8a9e047b9 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 25 Apr 2004 09:23:09 +0000 Subject: remove embeddedkonsole hack --- (limited to 'library/qpeapplication.cpp') 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 ) d->rejectIt(); return TRUE; } - else if ( strcmp( argv() [ 0 ], "embeddedkonsole" ) != 0 ) { - active->close(); - } } } else if ( ke->simpleData.keycode >= Qt::Key_F1 && ke->simpleData.keycode <= Qt::Key_F29 ) { @@ -2151,7 +2148,7 @@ int QPEApplication::exec() */ void QPEApplication::tryQuit() { - if ( activeModalWidget() || strcmp( argv() [ 0 ], "embeddedkonsole" ) == 0 ) + if ( activeModalWidget() ) return ; // Inside modal loop or konsole. Too hard to save state. #ifndef QT_NO_COP -- cgit v0.9.0.2