fix window remembering its correct location
This commit is contained in:
parent
a452f548bc
commit
83e3126343
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue