┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2009-01-19 14:33:10 +0000
committerDavid Faure <[email protected]>2009-01-19 14:33:10 +0000
commit056b6855d3d1575bcaf095a69fec5b767aefa16b (patch)
tree07e1e9252f669775b5ecf7e68531a9515834c327 /src
parentd85a6ec6dd3a30784c07636a77ee502dd5dae4a2 (diff)
Fix lack of error handling in RMB/Move To... (e.g. when src is root-owned) because the parent for KonqOperations
was the popupmenu, which gets deleted before the job finishes. svn path=/trunk/KDE/kdebase/apps/; revision=913576
Diffstat (limited to 'src')
-rw-r--r--src/dolphincontextmenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index a7f7df36c..1d99f9637 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -60,7 +60,8 @@ DolphinContextMenu::DolphinContextMenu(DolphinMainWindow* parent,
m_capabilities(0),
m_fileInfo(fileInfo),
m_baseUrl(baseUrl),
- m_context(NoContext)
+ m_context(NoContext),
+ m_copyToMenu(parent)
{
// The context menu either accesses the URLs of the selected items
// or the items itself. To increase the performance both lists are cached.