Ensure media viewer has native window handle before using it
This commit is contained in:
parent
60ca6895db
commit
053f8ad1c0
|
@ -630,6 +630,7 @@ OverlayWidget::OverlayWidget()
|
||||||
_window->setWindowFlags(Qt::FramelessWindowHint | Qt::Tool);
|
_window->setWindowFlags(Qt::FramelessWindowHint | Qt::Tool);
|
||||||
}
|
}
|
||||||
_widget->setMouseTracking(true);
|
_widget->setMouseTracking(true);
|
||||||
|
_window->createWinId();
|
||||||
|
|
||||||
QObject::connect(
|
QObject::connect(
|
||||||
window(),
|
window(),
|
||||||
|
|
Loading…
Reference in New Issue