[Pkg-owncloud-commits] [owncloud-client] 98/211: main: Show console message if already running

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 707d6880a886b3051711f220919614ac7bb155cc
Author: Markus Goetz <markus at woboq.com>
Date:   Thu Oct 16 15:25:33 2014 +0200

    main: Show console message if already running
---
 src/main.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.cpp b/src/main.cpp
index ba1fa8e..9834bb6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -82,6 +82,7 @@ int main(int argc, char **argv)
 
     // if the application is already running, notify it.
     if( app.isRunning() ) {
+        qDebug() << Q_FUNC_INFO << "Already running, exiting...";
         QStringList args = app.arguments();
         if ( args.size() > 1 && ! app.giveHelp() ) {
             QString msg = args.join( QLatin1String("|") );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list