diff options
| author | Méven Car <[email protected]> | 2020-04-24 19:16:24 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2020-04-25 08:04:10 +0200 |
| commit | 72705e4cf8f7e39cd316609fdd824790618e8ec9 (patch) | |
| tree | a443f9b02f6235c1d827ee3cfbe62caa90e800c4 /src/panels/information/informationpanelcontent.cpp | |
| parent | e78fe03294973c20d70c839af1e9944c6b97faaf (diff) | |
Information Panel: show the phonon when we can use phonon
Summary: Similar to D29158
Test Plan:
Select a video file
Type CTRL + F and some text
Hit ALt + left or previous button
Before:
The video controls are not visible for selected video file
After:
Video controls are visible again.
Reviewers: ngraham, elvisangelaccio, #dolphin
Reviewed By: ngraham, #dolphin
Subscribers: kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D29160
Diffstat (limited to 'src/panels/information/informationpanelcontent.cpp')
| -rw-r--r-- | src/panels/information/informationpanelcontent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index 6cbdd4b3b..fe964f364 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -248,6 +248,7 @@ void InformationPanelContent::refreshPreview() // change the cursor of the preview m_preview->setCursor(Qt::PointingHandCursor); m_preview->installEventFilter(m_phononWidget); + m_phononWidget->show(); // if the video is playing, has been paused or stopped // we don't need to update the preview/phonon widget states @@ -267,7 +268,6 @@ void InformationPanelContent::refreshPreview() m_preview->show(); } - m_phononWidget->show(); m_phononWidget->setUrl(m_item.targetUrl(), m_isVideo ? PhononWidget::MediaKind::Video : PhononWidget::MediaKind::Audio); adjustWidgetSizes(parentWidget()->width()); } |
