author | sandman <sandman> | 2002-09-29 13:32:19 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-29 13:32:19 (UTC) |
commit | 3e8ee39d31b43f01524670df6cb048efc2194b9a (patch) (side-by-side diff) | |
tree | f0f20464e77c4d0e3d03cf5065dc77070279c4f9 /library/global.cpp | |
parent | b7fcdc189dacc8e054a32090af4677bc86955491 (diff) | |
download | opie-3e8ee39d31b43f01524670df6cb048efc2194b9a.zip opie-3e8ee39d31b43f01524670df6cb048efc2194b9a.tar.gz opie-3e8ee39d31b43f01524670df6cb048efc2194b9a.tar.bz2 |
Fast-load should work now again -- I think this was a Qtopia merge problem
-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) // see if the application is already running // XXX should lock file /tmp/qcop-msg-ap if ( QCopChannel::isRegistered( ("QPE/Application/" + ap).latin1() ) ) { + // If the channel is already register, the app is already running, so show it. + { QCopEnvelope env( ("QPE/Application/" + ap).latin1(), "raise()" ); } + QCopEnvelope e("QPE/System", "notBusy(QString)" ); e << ap; return; |