2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Restore missed QWindow::setScreen

This commit is contained in:
Ilya Fedin
2022-06-21 22:01:40 +04:00
committed by John Preston
parent 9033d49d76
commit 45d2baa2c4

View File

@@ -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;