Fix media controls hiding workaround.

This commit is contained in:
John Preston 2021-09-19 16:55:55 +03:00
parent d0fcc40d25
commit c336d725ea
1 changed files with 1 additions and 1 deletions

View File

@ -4598,7 +4598,7 @@ void OverlayWidget::clearBeforeHide() {
_groupThumbs = nullptr;
_groupThumbsRect = QRect();
for (const auto child : _widget->children()) {
if (child->isWidgetType()) {
if (child->isWidgetType() && _hideWorkaround.get() != child) {
static_cast<QWidget*>(child)->hide();
}
}