From: Dawit Alemayehu Date: Sun, 29 May 2011 18:47:24 +0000 (-0400) Subject: Set the window on the directory lister created in ViewAccessor so that password X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f51d29c124952ad2064936920d6635e59d6bbb2a Set the window on the directory lister created in ViewAccessor so that password management can be handled properly. REVIEW: 101469 --- 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()