From f51d29c124952ad2064936920d6635e59d6bbb2a Mon Sep 17 00:00:00 2001 From: Dawit Alemayehu Date: Sun, 29 May 2011 14:47:24 -0400 Subject: Set the window on the directory lister created in ViewAccessor so that password management can be handled properly. REVIEW: 101469 --- src/views/dolphinview.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/views/dolphinview.cpp') diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 1df86439c..4bc901b9a 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1482,6 +1482,11 @@ void DolphinView::ViewAccessor::createView(QWidget* parent, default: Q_ASSERT(false); } + + KDirLister* lister = dirLister(); + if (lister) { + lister->setMainWindow(parent->window()); + } } void DolphinView::ViewAccessor::deleteView() -- cgit v1.3