aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-12-07 10:27:47 (GMT)
committerMontel Laurent <montel@kde.org>2016-12-07 10:27:47 (GMT)
commit4795732f92667bf022ce972298a61ceab6ec3780 (patch)
tree5f8a851638b811efa5fcd77d0bd8a415cfd1a003
parent1b7bd349d057b03f29da067bd87fdf5e37bafcbd (diff)
Fix Bug 373363 - Kmail folder properties aren't shown after closing themv16.12.0
Apply patch from Maximiliano Curia Thanks a lot FIXED-IN: 5.4.0 BUG: 373363
-rw-r--r--src/widgets/collectionpropertiesdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/collectionpropertiesdialog.cpp b/src/widgets/collectionpropertiesdialog.cpp
index 8e31957..6922306 100644
--- a/src/widgets/collectionpropertiesdialog.cpp
+++ b/src/widgets/collectionpropertiesdialog.cpp
@@ -119,6 +119,7 @@ void CollectionPropertiesDialog::Private::init()
{
QVBoxLayout *mainLayout = new QVBoxLayout;
q->setLayout(mainLayout);
+ q->setAttribute(Qt::WA_DeleteOnClose);
mTabWidget = new QTabWidget(q);
mainLayout->addWidget(mTabWidget);