From: Olivier Goffart Date: Wed, 11 Jan 2017 14:55:07 +0000 (+0100) Subject: SelectiveSync: adjust the position of the "Loading" label X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~871^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0249a68420ba4e225caba416835fd6ec5500dd19;p=nextcloud-desktop.git SelectiveSync: adjust the position of the "Loading" label It should be parented to the treeview to be sure that is shows inside of it. --- diff --git a/src/gui/selectivesyncdialog.cpp b/src/gui/selectivesyncdialog.cpp index 296b32e5e..4f23e248b 100644 --- a/src/gui/selectivesyncdialog.cpp +++ b/src/gui/selectivesyncdialog.cpp @@ -62,7 +62,7 @@ SelectiveSyncWidget::SelectiveSyncWidget(AccountPtr account, QWidget *parent) , _inserting(false) , _folderTree(new QTreeWidget(this)) { - _loading = new QLabel(tr("Loading ..."), this); + _loading = new QLabel(tr("Loading ..."), _folderTree); auto layout = new QVBoxLayout(this); layout->setContentsMargins(0, 0, 0, 0);