[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkde-baseapps/KDE/4=2E6=5D_dolphin/src/views=3A_Set_?=
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2011-05-29 22:20:09
Message-ID: 20110529222009.75B30A60A4 () git ! kde ! org
[Download RAW message or body]

Git commit f5568a8eefb94b5df1d3809727839a89ce5e5f8f by Dawit Alemayehu.
Committed on 29/05/2011 at 20:47.
Pushed by adawit into branch 'KDE/4.6'.

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)

M  +5    -0    dolphin/src/views/dolphinview.cpp     

http://commits.kde.org/kde-baseapps/f5568a8eefb94b5df1d3809727839a89ce5e5f8f

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()

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic