mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Restore missed QWindow::setScreen
This commit is contained in:
parent
9033d49d76
commit
45d2baa2c4
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ void PipPanel::setPositionDefault() {
|
|||
const auto parentScreen = widgetScreen(_parent);
|
||||
const auto myScreen = widgetScreen(widget());
|
||||
if (parentScreen && myScreen && myScreen != parentScreen) {
|
||||
widget()->setScreen(parentScreen);
|
||||
widget()->windowHandle()->setScreen(parentScreen);
|
||||
}
|
||||
auto position = Position();
|
||||
position.snapped = RectPart::Top | RectPart::Left;
|
||||
|
|
Loading…
Add table
Reference in a new issue