Fix compilation on Windows, fix glitch that could cause windows to appear off the actual screen with no way to get them back.

This commit is contained in:
Collin Kidder
2020-11-15 01:30:13 -08:00
parent 80523f2eeb
commit b345495178
21 changed files with 41 additions and 20 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ void FlowViewWindow::readSettings()
if (settings.value("Main/SaveRestorePositions", false).toBool())
{
resize(settings.value("FlowView/WindowSize", QSize(1078, 621)).toSize());
move(settings.value("FlowView/WindowPos", QPoint(50, 50)).toPoint());
move(Utility::constrainedWindowPos(settings.value("FlowView/WindowPos", QPoint(50, 50)).toPoint()));
}
if (settings.value("FlowView/AutoRef", false).toBool())