diff options
| author | Méven Car <[email protected]> | 2020-11-08 08:21:56 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2021-04-17 10:44:28 +0200 |
| commit | 4f4e3d392c9645e3d43c362af72e2066430890f6 (patch) | |
| tree | 24cc999a3d0ae67a63ed7fc961b98231cbec633b /src/dolphinviewcontainer.cpp | |
| parent | 20848147813a0c5de3427c4d6a36c31d03563c89 (diff) | |
PlacesPanel: activating a place does not select its previously selected children
BUG: 421347
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 549b62b03..1a608669f 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -727,6 +727,18 @@ void DolphinViewContainer::slotUrlSelectionRequested(const QUrl& url) m_view->markUrlAsCurrent(url); // makes the item scroll into view } +void DolphinViewContainer::disableUrlNavigatorSelectionRequests() +{ + disconnect(m_urlNavigator.get(), &KUrlNavigator::urlSelectionRequested, + this, &DolphinViewContainer::slotUrlSelectionRequested); +} + +void DolphinViewContainer::enableUrlNavigatorSelectionRequests() +{ + connect(m_urlNavigator.get(), &KUrlNavigator::urlSelectionRequested, + this, &DolphinViewContainer::slotUrlSelectionRequested); +} + void DolphinViewContainer::redirect(const QUrl& oldUrl, const QUrl& newUrl) { Q_UNUSED(oldUrl) |
