mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix media viewer create on non-primary screen.
This commit is contained in:
@@ -816,6 +816,7 @@ void OverlayWidget::moveToScreen(bool inMove) {
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
_window->setScreen(activeWindowScreen);
|
||||
#else // Qt >= 6.0.0
|
||||
_window->createWinId();
|
||||
window()->setScreen(activeWindowScreen);
|
||||
#endif // Qt < 6.0.0
|
||||
DEBUG_LOG(("Viewer Pos: New actual screen: %1")
|
||||
|
||||
Reference in New Issue
Block a user