summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawit Alemayehu <adawit@kde.org>2011-05-29 18:47:24 (GMT)
committerDawit Alemayehu <adawit@kde.org>2011-05-29 22:14:05 (GMT)
commitf5568a8eefb94b5df1d3809727839a89ce5e5f8f (patch)
tree807216558d2abae07d6f0276e86da45c6ed7ef32
parent8fd403bdf3b996a615e9bb527bfae3564d218bc9 (diff)
Set the window on the directory lister created in ViewAccessor so that password
management can be handled properly. BUG: 248340 FIXED-IN: 4.6.4 REVIEW: 101469 (cherry picked from commit 24e79c009b1530b5491940b727a989d4d0fbf434)
-rw-r--r--dolphin/src/views/dolphinview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/dolphin/src/views/dolphinview.cpp b/dolphin/src/views/dolphinview.cpp
index 36b2678..eeab76d 100644
--- a/dolphin/src/views/dolphinview.cpp
+++ b/dolphin/src/views/dolphinview.cpp
@@ -1429,6 +1429,11 @@ void DolphinView::ViewAccessor::createView(QWidget* parent,
default:
Q_ASSERT(false);
}
+
+ KDirLister* lister = dirLister();
+ if (lister) {
+ lister->setMainWindow(parent->window());
+ }
}
void DolphinView::ViewAccessor::deleteView()