fix window remembering its correct location

This commit is contained in:
Martin Rotter 2023-06-09 08:22:35 +02:00
parent a452f548bc
commit 83e3126343

View File

@ -707,7 +707,7 @@ void FormMain::saveSize() {
Settings* settings = qApp->settings();
bool is_fullscreen = isFullScreen();
bool is_maximized = isMaximized();
QPoint window_pos = normalGeometry().topLeft();
QPoint window_pos = frameGeometry().topLeft();
QSize window_size = normalGeometry().size();
if (!window_size.isValid()) {