summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-02 21:53:00 (UTC)
committer sandman <sandman>2002-10-02 21:53:00 (UTC)
commit4c8b8e96d841bb12637b5b022dbfeca6dae3d189 (patch) (side-by-side diff)
treece8eb50e5cb9bfd6a5ed3c43e7f22cde25956e84
parent2d0c6327dd40ab6847ce055c40ca59893bc8b9b2 (diff)
downloadopie-4c8b8e96d841bb12637b5b022dbfeca6dae3d189.zip
opie-4c8b8e96d841bb12637b5b022dbfeca6dae3d189.tar.gz
opie-4c8b8e96d841bb12637b5b022dbfeca6dae3d189.tar.bz2
Hack for suspend action is no longer needed
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/global.cpp4
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
}