mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-21 17:30:15 +00:00
Fix a disconnect warning
NO_CHANGELOG
This commit is contained in:
parent
b7fa85a33d
commit
a34768747f
|
@ -1426,7 +1426,7 @@ void DolphinMainWindow::activeViewChanged(DolphinViewContainer *viewContainer)
|
||||||
connect(oldViewContainer->view(), &DolphinView::requestItemInfo, this, &DolphinMainWindow::requestItemInfo);
|
connect(oldViewContainer->view(), &DolphinView::requestItemInfo, this, &DolphinMainWindow::requestItemInfo);
|
||||||
|
|
||||||
// Disconnect other slots.
|
// Disconnect other slots.
|
||||||
disconnect(nullptr,
|
disconnect(oldViewContainer,
|
||||||
&DolphinViewContainer::selectionModeChanged,
|
&DolphinViewContainer::selectionModeChanged,
|
||||||
actionCollection()->action(QStringLiteral("toggle_selection_mode")),
|
actionCollection()->action(QStringLiteral("toggle_selection_mode")),
|
||||||
&QAction::setChecked);
|
&QAction::setChecked);
|
||||||
|
|
Loading…
Reference in a new issue