mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 00:11:21 +00:00
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:
parent
8246f56923
commit
6c05a2bb29
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue