]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fixed issue the the current view does not get the focus after opening Dolphin. Althou...
authorPeter Penz <peter.penz19@gmail.com>
Wed, 7 May 2008 20:50:27 +0000 (20:50 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 7 May 2008 20:50:27 +0000 (20:50 +0000)
BUG: 161590

svn path=/trunk/KDE/kdebase/apps/; revision=805206

src/dolphinview.cpp
src/dolphinviewcontainer.cpp

index 0caefe87a83b2fcea068dcb0dad44de67301f85f..2618dea275d5d25bd7b91ef3932aa5e7337ec9a6 100644 (file)
@@ -86,7 +86,6 @@ DolphinView::DolphinView(QWidget* parent,
     m_iconManager(0),
     m_toolTipManager(0)
 {
-    setFocusPolicy(Qt::StrongFocus);
     m_topLayout = new QVBoxLayout(this);
     m_topLayout->setSpacing(0);
     m_topLayout->setMargin(0);
index 6fcdb7deca075ec2956301e83cfedca465118d3a..a9226ebb0a3dba4a92f0dccc5f85e232a46f459a 100644 (file)
@@ -71,7 +71,7 @@ DolphinViewContainer::DolphinViewContainer(DolphinMainWindow* mainWindow,
     m_proxyModel(0)
 {
     hide();
-    setFocusPolicy(Qt::StrongFocus);
+
     m_topLayout = new QVBoxLayout(this);
     m_topLayout->setSpacing(0);
     m_topLayout->setMargin(0);