mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +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
1 changed files with 2 additions and 2 deletions
|
@ -429,10 +429,10 @@ void DolphinColumnWidget::deactivate()
|
||||||
// necessary connecting the signal 'singleClick()' or 'doubleClick'.
|
// necessary connecting the signal 'singleClick()' or 'doubleClick'.
|
||||||
if (KGlobalSettings::singleClick()) {
|
if (KGlobalSettings::singleClick()) {
|
||||||
disconnect(this, SIGNAL(clicked(const QModelIndex&)),
|
disconnect(this, SIGNAL(clicked(const QModelIndex&)),
|
||||||
this, SLOT(triggerItem(const QModelIndex&)));
|
m_view->m_controller, SLOT(triggerItem(const QModelIndex&)));
|
||||||
} else {
|
} else {
|
||||||
disconnect(this, SIGNAL(doubleClicked(const QModelIndex&)),
|
disconnect(this, SIGNAL(doubleClicked(const QModelIndex&)),
|
||||||
this, SLOT(triggerItem(const QModelIndex&)));
|
m_view->m_controller, SLOT(triggerItem(const QModelIndex&)));
|
||||||
}
|
}
|
||||||
|
|
||||||
const QModelIndex current = selectionModel()->currentIndex();
|
const QModelIndex current = selectionModel()->currentIndex();
|
||||||
|
|
Loading…
Reference in a new issue