┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-06-06 20:32:03 +0000
committerPeter Penz <[email protected]>2007-06-06 20:32:03 +0000
commit5de9950182b5a1b0b99e4cc51e48d4d83b6bef24 (patch)
tree923bfc5da3d15bda30169519074c76f0d2bd75c6 /src/dolphinview.cpp
parentdb7d239632009906b9a8cfb24cb799fee7fb0306 (diff)
start to simplify the DolphinController as preparation for the kparts DolphinViewWidget (as discussed with David)
svn path=/trunk/KDE/kdebase/apps/; revision=672357
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp4
1 files changed, 1 insertions, 3 deletions
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)),