Commit 5306a6fb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix potential crash

parent fbd57de0
......@@ -133,6 +133,7 @@ ManageSieveScriptsDialog::ManageSieveScriptsDialog(SieveImapPasswordProvider *pa
ManageSieveScriptsDialog::~ManageSieveScriptsDialog()
{
disconnect(d->mTreeView, &CustomManageSieveWidget::updateButtons, this, &ManageSieveScriptsDialog::slotUpdateButtons);
KConfigGroup group(KSharedConfig::openConfig(), "ManageSieveScriptsDialog");
group.writeEntry("Size", size());
// prevent QTreeWidget signals triggered by it's destructor from calling our slots
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment