Qt: Store window size setting when resizing
Jeffrey Pfau jeffrey@endrift.com
Wed, 05 Nov 2014 02:23:47 -0800
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -230,6 +230,8 @@ }
void Window::resizeEvent(QResizeEvent*) { redoLogo(); + m_config->setOption("height", m_screenWidget->height()); + m_config->setOption("width", m_screenWidget->width()); } void Window::closeEvent(QCloseEvent* event) {