┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-01-06 16:56:01 +0000
committerPeter Penz <[email protected]>2010-01-06 16:56:01 +0000
commit4fdc3bad9c1b2f168466a296f412d904e3315dc9 (patch)
tree5909f17343ef0fcadd28bce75b577dd66e243b44 /src/dolphinview.cpp
parent5cf5a8ea4bf482b5a78d9948a6cdaea44ad9c627 (diff)
Fixed issue that Ctrl+A sometimes did not result in an update of the Information Panel. As a sideeffect some code simplification has been done, which was possible because of the column view refactorization some time ago.
svn path=/trunk/KDE/kdebase/apps/; revision=1070740
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index c0d700eb5..e70cd446b 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -1357,8 +1357,6 @@ void DolphinView::createView()
view->viewport()->installEventFilter(this);
m_controller->setItemView(view);
- connect(m_controller, SIGNAL(selectionChanged()),
- this, SLOT(emitDelayedSelectionChangedSignal()));
// When changing the view mode, the selection is lost due to reinstantiating
// a new item view with a custom selection model. Pass the ownership of the
@@ -1369,6 +1367,8 @@ void DolphinView::createView()
m_selectionModel = view->selectionModel();
}
m_selectionModel->setParent(this);
+ connect(view->selectionModel(), SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)),
+ this, SLOT(emitDelayedSelectionChangedSignal()));
connect(view->verticalScrollBar(), SIGNAL(valueChanged(int)),
this, SLOT(emitContentsMoved()));