diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-08 22:54:14 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-08 22:54:14 +0300 |
commit | 41d38b37cf0f9c6534f43c9d47ddad3307ab9ff5 (patch) | |
tree | bf39204babffeab8601a0253deb42520a818c52d /src/gui/shareusergroupwidget.cpp | |
parent | 54612455e67f1ec18131f70f26eadcf3b9f3a59f (diff) |
Add spinner to show we are creating the share
Fixes #3737
Diffstat (limited to 'src/gui/shareusergroupwidget.cpp')
-rw-r--r-- | src/gui/shareusergroupwidget.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/shareusergroupwidget.cpp b/src/gui/shareusergroupwidget.cpp index ea3bbf7bb..01a26f327 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 */ |