-rw-r--r-- | library/global.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/global.cpp b/library/global.cpp index 7438891..2e4d03f 100644 --- a/library/global.cpp +++ b/library/global.cpp | |||
@@ -564,6 +564,9 @@ void Global::invoke(const QString &c) | |||
564 | // see if the application is already running | 564 | // see if the application is already running |
565 | // XXX should lock file /tmp/qcop-msg-ap | 565 | // XXX should lock file /tmp/qcop-msg-ap |
566 | if ( QCopChannel::isRegistered( ("QPE/Application/" + ap).latin1() ) ) { | 566 | if ( QCopChannel::isRegistered( ("QPE/Application/" + ap).latin1() ) ) { |
567 | // If the channel is already register, the app is already running, so show it. | ||
568 | { QCopEnvelope env( ("QPE/Application/" + ap).latin1(), "raise()" ); } | ||
569 | |||
567 | QCopEnvelope e("QPE/System", "notBusy(QString)" ); | 570 | QCopEnvelope e("QPE/System", "notBusy(QString)" ); |
568 | e << ap; | 571 | e << ap; |
569 | return; | 572 | return; |