mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix media controls hiding workaround.
This commit is contained in:
parent
d0fcc40d25
commit
c336d725ea
1 changed files with 1 additions and 1 deletions
|
@ -4598,7 +4598,7 @@ void OverlayWidget::clearBeforeHide() {
|
||||||
_groupThumbs = nullptr;
|
_groupThumbs = nullptr;
|
||||||
_groupThumbsRect = QRect();
|
_groupThumbsRect = QRect();
|
||||||
for (const auto child : _widget->children()) {
|
for (const auto child : _widget->children()) {
|
||||||
if (child->isWidgetType()) {
|
if (child->isWidgetType() && _hideWorkaround.get() != child) {
|
||||||
static_cast<QWidget*>(child)->hide();
|
static_cast<QWidget*>(child)->hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue