[Pkg-owncloud-commits] [owncloud-client] 412/484: Share dialog: Work around painting bug #4189

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:14 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 5216648d0b2371656cf88218f0b8d501ef9cbf7a
Author: Christian Kamm <mail at ckamm.de>
Date:   Wed Nov 25 10:09:17 2015 +0100

    Share dialog: Work around painting bug #4189
---
 src/gui/shareusergroupwidget.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gui/shareusergroupwidget.cpp b/src/gui/shareusergroupwidget.cpp
index ae8e4fb..4d5841c 100644
--- a/src/gui/shareusergroupwidget.cpp
+++ b/src/gui/shareusergroupwidget.cpp
@@ -301,6 +301,11 @@ void ShareWidget::slotDeleteAnimationFinished()
 {
     resizeRequested();
     deleteLater();
+
+    // There is a painting bug where a small line of this widget isn't
+    // properly cleared. This explicit repaint() call makes sure any trace of
+    // the share widget is removed once it's destroyed. #4189
+    connect(this, SIGNAL(destroyed(QObject*)), parentWidget(), SLOT(repaint()));
 }
 
 void ShareWidget::slotShareDeleted()

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