[Pkg-owncloud-commits] [owncloud-client] 283/332: SocketAPI: Send Broadcasts only for Linux, not used on Mac and Win.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:12 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 4fb671e7f4670aefdb73582599a4767d3a29bc61
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Aug 4 11:08:44 2014 +0200

    SocketAPI: Send Broadcasts only for Linux, not used on Mac and Win.
---
 src/mirall/socketapi.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mirall/socketapi.cpp b/src/mirall/socketapi.cpp
index 41e079e..7874450 100644
--- a/src/mirall/socketapi.cpp
+++ b/src/mirall/socketapi.cpp
@@ -290,8 +290,9 @@ void SocketApi::slotJobCompleted(const QString &folder, const SyncFileItem &item
     if (Progress::isWarningKind(item._status)) {
         command = QLatin1String("ERROR");
     }
-
-    broadcastMessage(QLatin1String("BROADCAST:"), path, command);
+    if( Utility::isLinux() ) {
+        broadcastMessage(QLatin1String("BROADCAST:"), path, command);
+    }
 }
 
 

-- 
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