summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Vrátil <[email protected]>2015-09-15 14:59:39 +0200
committerDan Vrátil <[email protected]>2015-09-15 15:04:19 +0200
commit9b3a775e9489a7f0b750d129c1134552e896a631 (patch)
tree28776c29d09d2437823e2ac1764c0a28ce371513
parent1499b01ec2d5232e1ff046f1b65a58f7da41e29a (diff)
Revert "Fix memory leak and crash in ManageSieveScriptsDialog"
This reverts commit 9c1a1d87503d4e12990b93dcab63941c7e91ab8f. Only affects git master.
-rw-r--r--libksieve/ksieveui/managesievescriptsdialog.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libksieve/ksieveui/managesievescriptsdialog.cpp b/libksieve/ksieveui/managesievescriptsdialog.cpp
index ee2f33e..76f8944 100644
--- a/libksieve/ksieveui/managesievescriptsdialog.cpp
+++ b/libksieve/ksieveui/managesievescriptsdialog.cpp
@@ -130,9 +130,6 @@ ManageSieveScriptsDialog::~ManageSieveScriptsDialog()
{
KConfigGroup group(KSharedConfig::openConfig(), "ManageSieveScriptsDialog");
group.writeEntry("Size", size());
- // prevent QTreeWidget signals triggered by it's desctructor from calling our slots
- d->mTreeView->disconnect(this);
- delete d;
}
void ManageSieveScriptsDialog::hideEvent(QHideEvent *event)