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
This commit is contained in:
Peter Penz 2008-03-20 20:15:18 +00:00
parent 8246f56923
commit 6c05a2bb29

View file

@ -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();