diff --git a/dolphin/src/treeviewcontextmenu.cpp b/dolphin/src/treeviewcontextmenu.cpp index 07145fe0e0..fb6db1764c 100644 --- a/dolphin/src/treeviewcontextmenu.cpp +++ b/dolphin/src/treeviewcontextmenu.cpp @@ -162,7 +162,9 @@ void TreeViewContextMenu::deleteItem() void TreeViewContextMenu::showProperties() { - new KPropertiesDialog(m_fileInfo->url()); + KPropertiesDialog* dlg = new KPropertiesDialog(m_fileInfo->url() ); + dlg->exec(); + delete dlg; } #include "treeviewcontextmenu.moc"