Fix media viewer on Unity

This could be a regression for tiling WMs, though...
This commit is contained in:
Ilya Fedin 2022-04-25 22:45:17 +04:00 committed by John Preston
parent 48589b721d
commit 2f2003c89b

View file

@ -537,8 +537,6 @@ void OverlayWidget::updateGeometry(bool inMove) {
.arg(use.width())
.arg(use.height()));
_widget->setGeometry(use);
_widget->setMinimumSize(use.size());
_widget->setMaximumSize(use.size());
if (possibleSizeHack) {
_widget->setMask(mask);
}