From: Peter Penz Date: Wed, 7 May 2008 20:50:27 +0000 (+0000) Subject: Fixed issue the the current view does not get the focus after opening Dolphin. Althou... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/63be8bc9a149a1bf3d2d8441f6c6bc23b04467d0 Fixed issue the the current view does not get the focus after opening Dolphin. Although this fixes #161590, further improvements have to be done to minimize the number of necessary tab presses... BUG: 161590 svn path=/trunk/KDE/kdebase/apps/; revision=805206 --- diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 0caefe87a..2618dea27 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -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); diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 6fcdb7dec..a9226ebb0 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -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);