┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-05-26 13:33:36 +0000
committerPeter Penz <[email protected]>2007-05-26 13:33:36 +0000
commit9801eddcdc065300a97a3b35dfafe2399a29f729 (patch)
tree45b2f9ed659c5d7b07c0d6f571ef490db0621917 /src/dolphincontextmenu.cpp
parent3ac27c04e7fc102624358c10dd1dd87c7980b9b0 (diff)
reanimate properties dialog (thanks to Laurent Montel for fixing it in the tree view!)
svn path=/trunk/KDE/kdebase/apps/; revision=668453
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index 0329fce77..4e2cb4f86 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -242,7 +242,10 @@ void DolphinContextMenu::openViewportContextMenu()
QAction* activatedAction = popup->exec(QCursor::pos());
if (activatedAction == propertiesAction) {
- new KPropertiesDialog(m_mainWindow->activeView()->url());
+ const KUrl& url = m_mainWindow->activeView()->url();
+ KPropertiesDialog* dlg = new KPropertiesDialog(url);
+ dlg->exec();
+ delete dlg;
} else if (activatedAction == bookmarkAction) {
const KUrl& url = m_mainWindow->activeView()->url();
if (url.isValid()) {