summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-02-09 12:35:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-02-09 12:35:43 +0900
commitd88a72a5bc138dd06b7d5763a68014667d47ecba (patch)
treefdca61295795584328f5e9300affc2bd3b3b2428 /konqueror/sidebar
parent7df41e857228b5a9b5ceca277b812bbe98db6a28 (diff)
downloadtdebase-d88a72a5bc138dd06b7d5763a68014667d47ecba.tar.gz
tdebase-d88a72a5bc138dd06b7d5763a68014667d47ecba.zip
Fix Konqueror SEGV when the KPropertiesDialog is opened on the root
element of the treeview. This resolves issue #310. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konqueror/sidebar')
-rw-r--r--konqueror/sidebar/trees/konq_sidebartree.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/konqueror/sidebar/trees/konq_sidebartree.cpp b/konqueror/sidebar/trees/konq_sidebartree.cpp
index 514c28095..f3a539c85 100644
--- a/konqueror/sidebar/trees/konq_sidebartree.cpp
+++ b/konqueror/sidebar/trees/konq_sidebartree.cpp
@@ -1012,7 +1012,6 @@ void KonqSidebarTree::slotProperties()
KPropertiesDialog *dlg = new KPropertiesDialog( url );
dlg->setFileNameReadOnly(true);
dlg->exec();
- delete dlg;
}
void KonqSidebarTree::slotOpenNewWindow()