The Qt::WA_NativeWindow attribute is need so that windowHandle() doesn't return 0, since windowHandle() is used in two places now in the code, just always set it. When rememberWindowSize() is false, override the Window-Maximized config key, which maximizes the window initially. To test: - unset "remember window size" - close the window and make sure the config has been saved to konsolerc - open konsole, keep the window unmaximized, close, open -> size is restored - open konsole, maximize the window, close, open, the window is maximized even when rememberWindowSize() is falsewilder
parent
897435e5fb
commit
fb7ff04d15
1 changed files with 13 additions and 4 deletions
Loading…
Reference in new issue