fix window remembering its correct location
This commit is contained in:
parent
a452f548bc
commit
83e3126343
@ -707,7 +707,7 @@ void FormMain::saveSize() {
|
|||||||
Settings* settings = qApp->settings();
|
Settings* settings = qApp->settings();
|
||||||
bool is_fullscreen = isFullScreen();
|
bool is_fullscreen = isFullScreen();
|
||||||
bool is_maximized = isMaximized();
|
bool is_maximized = isMaximized();
|
||||||
QPoint window_pos = normalGeometry().topLeft();
|
QPoint window_pos = frameGeometry().topLeft();
|
||||||
QSize window_size = normalGeometry().size();
|
QSize window_size = normalGeometry().size();
|
||||||
|
|
||||||
if (!window_size.isValid()) {
|
if (!window_size.isValid()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user