From 5de9950182b5a1b0b99e4cc51e48d4d83b6bef24 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 6 Jun 2007 20:32:03 +0000 Subject: start to simplify the DolphinController as preparation for the kparts DolphinViewWidget (as discussed with David) svn path=/trunk/KDE/kdebase/apps/; revision=672357 --- src/dolphinview.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dolphinview.cpp') diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 1e6fed776..16f06f271 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -157,8 +157,6 @@ DolphinView::DolphinView(DolphinMainWindow* mainWindow, this, SLOT(updateSortOrder(Qt::SortOrder))); connect(m_controller, SIGNAL(itemTriggered(const QModelIndex&)), this, SLOT(triggerItem(const QModelIndex&))); - connect(m_controller, SIGNAL(selectionChanged()), - this, SLOT(emitSelectionChangedSignal())); connect(m_controller, SIGNAL(activated()), this, SLOT(requestActivation())); connect(m_controller, SIGNAL(itemEntered(const QModelIndex&)), @@ -1275,7 +1273,7 @@ void DolphinView::createView() m_topLayout->insertWidget(1, view); connect(view->selectionModel(), SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)), - m_controller, SLOT(indicateSelectionChange())); + this, SLOT(emitSelectionChangedSignal())); connect(view->verticalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(emitContentsMoved())); connect(view->horizontalScrollBar(), SIGNAL(valueChanged(int)), -- cgit v1.3