mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 20:57:07 +02:00
Ensure media viewer has native window handle before using it
This commit is contained in:
parent
60ca6895db
commit
053f8ad1c0
1 changed files with 1 additions and 0 deletions
|
@ -630,6 +630,7 @@ OverlayWidget::OverlayWidget()
|
|||
_window->setWindowFlags(Qt::FramelessWindowHint | Qt::Tool);
|
||||
}
|
||||
_widget->setMouseTracking(true);
|
||||
_window->createWinId();
|
||||
|
||||
QObject::connect(
|
||||
window(),
|
||||
|
|
Loading…
Add table
Reference in a new issue