mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 21:46:03 +03:00
Activity Widget: Fix runtime warning
Fix the warning: QLayout: Attempting to add QLayout "" to OCC::ActivitySettings "", which already has a layout It was caused because one layout was created with the wrong parent
This commit is contained in:
parent
f2d8143511
commit
4984da7e0d
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ ActivitySettings::ActivitySettings(QWidget *parent)
|
||||||
|
|
||||||
// Add the not-synced list into the tab
|
// Add the not-synced list into the tab
|
||||||
QWidget *w = new QWidget;
|
QWidget *w = new QWidget;
|
||||||
QVBoxLayout *vbox2 = new QVBoxLayout(this);
|
QVBoxLayout *vbox2 = new QVBoxLayout(w);
|
||||||
vbox2->addWidget(new QLabel(tr("List of ignored or errornous files"), this));
|
vbox2->addWidget(new QLabel(tr("List of ignored or errornous files"), this));
|
||||||
vbox2->addWidget(_protocolWidget->issueWidget());
|
vbox2->addWidget(_protocolWidget->issueWidget());
|
||||||
QDialogButtonBox *dlgButtonBox = new QDialogButtonBox(this);
|
QDialogButtonBox *dlgButtonBox = new QDialogButtonBox(this);
|
||||||
|
|
Loading…
Reference in a new issue