diff options
| author | Méven Car <[email protected]> | 2019-03-24 18:37:10 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2019-03-24 18:38:42 +0100 |
| commit | d7277e47a6b84f20957e829d378b389df668fdc6 (patch) | |
| tree | 96ed1a7da95c6453c7b9e9fed193fb7e93b1c99a /src | |
| parent | 35f1fd5c154c72a63f4f70073e8dc8113c051f4f (diff) | |
When hovering over a file on the not-focus view panel, the information panel gets updated
Test Plan:
- In Dolphin with two views (split view) and with the information panels
- Hover over a file on the not selected view
- > the information panel show information about this file
No other changes in behavior
Reviewers: #dolphin, elvisangelaccio, ngraham
Reviewed By: #dolphin, ngraham
Subscribers: kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D19936
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 | ||||
| -rw-r--r-- | src/panels/information/informationpanel.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index bcadcdb80..296cb1400 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1045,6 +1045,10 @@ void DolphinMainWindow::activeViewChanged(DolphinViewContainer* viewContainer) oldViewContainer->disconnect(this); oldViewContainer->view()->disconnect(this); oldViewContainer->urlNavigator()->disconnect(this); + + // except the requestItemInfo so that on hover the information panel can still be updated + connect(oldViewContainer->view(), &DolphinView::requestItemInfo, + this, &DolphinMainWindow::requestItemInfo); } connectViewSignals(viewContainer); diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h index 05947145d..f63af1e53 100644 --- a/src/panels/information/informationpanel.h +++ b/src/panels/information/informationpanel.h @@ -75,7 +75,7 @@ protected: private slots: /** * Shows the information for the item of the URL which has been provided by - * InformationPanel::requestItemInfo() and provides default actions. + * InformationPanel::requestDelayedItemInfo() and provides default actions. */ void showItemInfo(); |
