┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-09-09 18:38:04 +0000
committerPeter Penz <[email protected]>2007-09-09 18:38:04 +0000
commita69d7a39557527794fa871fba3f2909b662c3935 (patch)
tree63e8ed1273e5d9b2e8044b6075a158c3e0db789d /src/dolphinview.cpp
parentfd9296c18559058cc6e39e5d7ed73277f5656ea0 (diff)
Reactivate keyboard navigation again. Previously the Return key did not work, as the 'activated()' signal cannot be used (it ignores KDEs single vs. doubleclick setting).
svn path=/trunk/KDE/kdebase/apps/; revision=710356
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index d145597ca..3e8070cb3 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -432,6 +432,7 @@ void DolphinView::setUrl(const KUrl& url)
applyViewProperties(url);
startDirLister(url);
+ itemView()->setFocus();
}
void DolphinView::mouseReleaseEvent(QMouseEvent* event)
@@ -835,6 +836,7 @@ void DolphinView::createView()
this, SLOT(emitContentsMoved()));
connect(view->horizontalScrollBar(), SIGNAL(valueChanged(int)),
this, SLOT(emitContentsMoved()));
+ view->setFocus();
}
QAbstractItemView* DolphinView::itemView() const