mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 08:35:21 +00:00
Restore missed QWindow::setScreen
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user