[Pkg-owncloud-commits] [owncloud-client] 113/470: Add spinner to show we are creating the share
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:24:51 UTC 2016
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 41d38b37cf0f9c6534f43c9d47ddad3307ab9ff5
Author: Roeland Jago Douma <rullzer at owncloud.com>
Date: Tue Mar 8 20:54:14 2016 +0100
Add spinner to show we are creating the share
Fixes #3737
---
src/gui/shareusergroupwidget.cpp | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/gui/shareusergroupwidget.cpp b/src/gui/shareusergroupwidget.cpp
index ea3bbf7..01a26f3 100644
--- a/src/gui/shareusergroupwidget.cpp
+++ b/src/gui/shareusergroupwidget.cpp
@@ -233,6 +233,15 @@ void ShareUserGroupWidget::slotCompleterActivated(const QModelIndex & index)
}
/*
+ * Add spinner to the bottom of the widget list
+ */
+ auto viewPort = _ui->scrollArea->widget();
+ auto layout = viewPort->layout();
+ auto indicator = new QProgressIndicator(viewPort);
+ indicator->startAnimation();
+ layout->addWidget(indicator);
+
+ /*
* Don't send the reshare permissions for federataed shares
* https://github.com/owncloud/core/issues/22122#issuecomment-185637344
*/
--
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