Ensure media viewer has native window handle before using it

This commit is contained in:
Ilya Fedin 2024-06-21 03:59:20 +04:00 committed by John Preston
parent 60ca6895db
commit 053f8ad1c0
1 changed files with 1 additions and 0 deletions

View File

@ -630,6 +630,7 @@ OverlayWidget::OverlayWidget()
_window->setWindowFlags(Qt::FramelessWindowHint | Qt::Tool);
}
_widget->setMouseTracking(true);
_window->createWinId();
QObject::connect(
window(),