The source project of this merge request has been removed.
InformationPanel: Allow to refresh the panel when its displayed file changes
Let KFileItemModel signal files that have changed and relay this signal to the information: DolphinView::fileItemsChanged -> DolphinMainWidow.fileItemsChanged >> InformationPanel::slotFileItemChanged
If the file show by the panel is changed, the panel will refresh itself.
Test:
- In dolphin open $HOME
- display information panel (F11)
- in a terminal touch ~/test.txt
Expected The number of files in the folder in the information panel is updated as well as its preview
- select ~/text.txt in dolphin, so that it is displayed in the information panel
- in a terminal echo "my-test" > ~/test.txt
Expected The file preview and metadata in the information panel are updated
Edited by Méven Car