From 6c05a2bb2906509170446d016cf0106e6038d19c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 20 Mar 2008 20:15:18 +0000 Subject: [PATCH] fixed regression because of disconnecting non-available slots - now files don't get started twice in the column view anymore BUG: 159551 svn path=/trunk/KDE/kdebase/apps/; revision=788133 --- src/dolphincolumnwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index 545b97e97..6b1ebf185 100644 --- a/src/dolphincolumnwidget.cpp +++ b/src/dolphincolumnwidget.cpp @@ -429,10 +429,10 @@ void DolphinColumnWidget::deactivate() // necessary connecting the signal 'singleClick()' or 'doubleClick'. if (KGlobalSettings::singleClick()) { disconnect(this, SIGNAL(clicked(const QModelIndex&)), - this, SLOT(triggerItem(const QModelIndex&))); + m_view->m_controller, SLOT(triggerItem(const QModelIndex&))); } else { disconnect(this, SIGNAL(doubleClicked(const QModelIndex&)), - this, SLOT(triggerItem(const QModelIndex&))); + m_view->m_controller, SLOT(triggerItem(const QModelIndex&))); } const QModelIndex current = selectionModel()->currentIndex(); -- 2.47.3