[Pkg-owncloud-commits] [owncloud-client] 263/484: [Sharing] Properly delete widget
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:51 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 806ec98eab23c3f833a54b98bb44a6412c4a40ec
Author: Roeland Jago Douma <rullzer at owncloud.com>
Date: Thu Nov 5 13:10:32 2015 +0100
[Sharing] Properly delete widget
---
src/gui/shareusergroupwidget.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui/shareusergroupwidget.cpp b/src/gui/shareusergroupwidget.cpp
index 68f4950..8e2b236 100644
--- a/src/gui/shareusergroupwidget.cpp
+++ b/src/gui/shareusergroupwidget.cpp
@@ -108,7 +108,7 @@ void ShareUserGroupWidget::slotSharesFetched(const QList<QSharedPointer<Share>>
//FIXME
QLayoutItem *child;
while ((child = _ui->sharesLayout->takeAt(0)) != 0) {
- delete child;
+ delete child->widget();
}
_sharees.clear();
--
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