-rw-r--r-- | library/global.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/library/global.cpp b/library/global.cpp index 2e4d03f..9b908bf 100644 --- a/library/global.cpp +++ b/library/global.cpp @@ -671,28 +671,24 @@ void Global::execute( const QString &c, const QString& document ) } } //Global::invoke(c, document); // Convert the command line in to a list of arguments QStringList list = QStringList::split(QRegExp(" *"),c); #if defined(Q_WS_QWS) && !defined(QT_NO_COP) QString ap=list[0]; qDebug("executing %s", ap.latin1() ); - if ( ap == "suspend" ) { - QWSServer::sendKeyEvent( 0xffff, Qt::Key_F34, FALSE, TRUE, FALSE ); - return; - } /* if need be, sending a qcop message will result in an invoke, see preceeding function */ invoke( ap ); //{ QCopEnvelope env( ("QPE/Application/" + ap).latin1(), "raise()" ); } if ( !document.isEmpty() ) { QCopEnvelope env( ("QPE/Application/" + ap).latin1(), "setDocument(QString)" ); env << document; } #endif } |