mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
dolphin: set the maximum size of the video preview widget even if it is not visible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b1cb5c6075
commit
21bda2c7cd
1 changed files with 2 additions and 4 deletions
|
@ -348,10 +348,8 @@ void InformationPanelContent::adjustWidgetSizes(int width)
|
|||
// try to increase the preview as large as possible
|
||||
m_preview->setMaximumSize(QSize(maxWidth, maxWidth));
|
||||
|
||||
if (m_playerWidget->isVisible()) {
|
||||
// the size of the video player should match that of the preview size
|
||||
m_playerWidget->setMaximumSize(maxWidth, maxWidth);
|
||||
}
|
||||
// the size of the video player should match that of the preview size
|
||||
m_playerWidget->setMaximumSize(maxWidth, maxWidth);
|
||||
}
|
||||
|
||||
#include "moc_informationpanelcontent.cpp"
|
||||
|
|
Loading…
Add table
Reference in a new issue