From d88a72a5bc138dd06b7d5763a68014667d47ecba Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Feb 2023 12:35:43 +0900 Subject: [PATCH] Fix Konqueror SEGV when the KPropertiesDialog is opened on the root element of the treeview. This resolves issue #310. Signed-off-by: Michele Calgaro --- konqueror/sidebar/trees/konq_sidebartree.cpp | 1 - 1 file changed, 1 deletion(-) 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()