From a3fff6d1a5a93bd7eb36f174d498ccf1770cb26e Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 5 Nov 2014 02:23:47 -0800 Subject: [PATCH] Qt: Store window size setting when resizing --- src/platform/qt/Window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index 0e92b25d5..3b711ff49 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -230,6 +230,8 @@ void Window::keyReleaseEvent(QKeyEvent* event) { void Window::resizeEvent(QResizeEvent*) { redoLogo(); + m_config->setOption("height", m_screenWidget->height()); + m_config->setOption("width", m_screenWidget->width()); } void Window::closeEvent(QCloseEvent* event) {