From: David Faure Date: Mon, 19 Jan 2009 14:33:10 +0000 (+0000) Subject: Fix lack of error handling in RMB/Move To... (e.g. when src is root-owned) because... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/056b6855d3d1575bcaf095a69fec5b767aefa16b 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 --- 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.