]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix lack of error handling in RMB/Move To... (e.g. when src is root-owned) because...
authorDavid Faure <faure@kde.org>
Mon, 19 Jan 2009 14:33:10 +0000 (14:33 +0000)
committerDavid Faure <faure@kde.org>
Mon, 19 Jan 2009 14:33:10 +0000 (14:33 +0000)
was the popupmenu, which gets deleted before the job finishes.

svn path=/trunk/KDE/kdebase/apps/; revision=913576

src/dolphincontextmenu.cpp

index a7f7df36c53a4c9d3b43074531fdf68a2caae7c1..1d99f96373e7dcce4817954c7946dfc9b1eea1cc 100644 (file)
@@ -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.