]> cloud.milkyroute.net Git - dolphin.git/commit
[InformationPanel] Hide the video when the preview is disabled, avoid computing the...
authorMéven Car <meven29@gmail.com>
Sun, 24 Mar 2019 17:32:25 +0000 (18:32 +0100)
committerMéven Car <meven29@gmail.com>
Sun, 24 Mar 2019 17:32:58 +0000 (18:32 +0100)
commit405aa4878f755b06123711f4cdbc8507cc15c18e
tree46dfd961293707ae2dff790a9176f5e12dbe6b21
parentaee1b07e26cadf6fafbde3dd5415f62932356839
[InformationPanel] Hide the video when the preview is disabled, avoid computing the preview when it is disabled

Summary:
Bug symptom : {F6698879}

Fix the bugs and allow to avoid launching a PreviewJob with all files even when the preview is disabled.

Test Plan:
 # In dolphin with an information panel with preview on
 # launch the video preview
 # Disable the preview

  ->bug 1: the video player control is still visible (this bug fix this)

 # re-enable preview

 -> bug 2: the video stays visible and the preview is displayed above (this bug fix this)

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, elvisangelaccio, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19844
src/panels/information/informationpanel.cpp
src/panels/information/informationpanelcontent.cpp
src/panels/information/informationpanelcontent.h