Hi all
I am trying to remember the size and location of the mainwindow from previous session in X11. Qt documentation suggests 2 methods:
1) To use saveGeometry and restoreGeometry. This works fine with saving the size but the position is not consistent. From what I see, the position is remembered for one closeEvent and then from the second time it moves the window to top-left corner.
2) To save pos and size.
Doesn't method 1) work for X11?
Thanks
Arjun




Reply With Quote
Bookmarks