mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-22 02:07:24 +00:00
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);
|
||||
}
|
||||
_widget->setMouseTracking(true);
|
||||
_window->createWinId();
|
||||
|
||||
QObject::connect(
|
||||
window(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user