mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 parentScreen = widgetScreen(_parent);
|
||||||
const auto myScreen = widgetScreen(widget());
|
const auto myScreen = widgetScreen(widget());
|
||||||
if (parentScreen && myScreen && myScreen != parentScreen) {
|
if (parentScreen && myScreen && myScreen != parentScreen) {
|
||||||
widget()->setScreen(parentScreen);
|
widget()->windowHandle()->setScreen(parentScreen);
|
||||||
}
|
}
|
||||||
auto position = Position();
|
auto position = Position();
|
||||||
position.snapped = RectPart::Top | RectPart::Left;
|
position.snapped = RectPart::Top | RectPart::Left;
|
||||||
|
|
Loading…
Add table
Reference in a new issue