From 056b6855d3d1575bcaf095a69fec5b767aefa16b Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 19 Jan 2009 14:33:10 +0000 Subject: 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 --- src/dolphincontextmenu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dolphincontextmenu.cpp') 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. -- cgit v1.3