-rw-r--r-- | library/qpeapplication.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index d0e9613..040b2fe 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -1126,3 +1126,2 @@ bool QPEApplication::qwsEventFilter( QWSEvent * e ) if ( active->inherits( "QDialog" ) ) { - qDebug("dialog hack"); HackDialog * d = ( HackDialog * ) active; @@ -1130,4 +1129,7 @@ bool QPEApplication::qwsEventFilter( QWSEvent * e ) return TRUE; + } else /*if ( strcmp( argv() [ 0 ], "embeddedkonsole" ) != 0 )*/ { + active->close(); } } + } |