diff options
Diffstat (limited to 'src/panels/information/informationpanelcontent.cpp')
| -rw-r--r-- | src/panels/information/informationpanelcontent.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index afca9a76c..285ce3ae9 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -501,10 +501,8 @@ void InformationPanelContent::adjustWidgetSizes(int width) // try to increase the preview as large as possible m_preview->setSizeHint(QSize(maxWidth, maxWidth)); - if (m_mediaWidget->isVisible()) { - // assure that the size of the video player is the same as the preview size - m_mediaWidget->setVideoSize(QSize(maxWidth, maxWidth)); - } + // assure that the size of the video player is the same as the preview size + m_mediaWidget->setVideoSize(QSize(maxWidth, maxWidth)); } #include "moc_informationpanelcontent.cpp" |
