[Pkg-owncloud-commits] [owncloud-client] 334/498: OS X Overlay Icons: Don't use waitForReadyRead()

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:04 UTC 2015


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 55e1f8a060d41c3693fca5d1a37db0155bb0707c
Author: Markus Goetz <markus at woboq.com>
Date:   Thu Jul 16 14:04:36 2015 +0200

    OS X Overlay Icons: Don't use waitForReadyRead()
    
    Somehow this sometimes glitched for me and hanged.
---
 src/gui/owncloudgui.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index 83f2efd..78491c6 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -131,7 +131,8 @@ void ownCloudGui::setupOverlayIcons()
               p.start(osascript, processArguments);
               p.write(aScript.toUtf8());
               p.closeWriteChannel();
-              p.waitForReadyRead(-1);
+              //p.waitForReadyRead(-1);
+              p.waitForFinished();
               QByteArray result = p.readAll();
               QString resultAsString(result); // if appropriate
               qDebug() << "Laod Finder Overlay-Plugin: " << resultAsString << ": " << p.exitCode()

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