From: Peter Penz Date: Thu, 20 Mar 2008 20:15:18 +0000 (+0000) Subject: fixed regression because of disconnecting non-available slots - now files don't get... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/6c05a2bb2906509170446d016cf0106e6038d19c?ds=sidebyside 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 --- 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();