┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawit Alemayehu <[email protected]>2011-05-29 14:47:24 -0400
committerDawit Alemayehu <[email protected]>2011-05-29 16:31:48 -0400
commitf51d29c124952ad2064936920d6635e59d6bbb2a (patch)
tree214f25707103492f955ce84520ae6f68bad3108e
parente0c967a8f097d4fe8723a76466fcc0f48d17e571 (diff)
Set the window on the directory lister created in ViewAccessor so that password
management can be handled properly. REVIEW: 101469
-rw-r--r--src/views/dolphinview.cpp5
1 files changed, 5 insertions, 0 deletions
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()