all repos — mgba @ a3fff6d1a5a93bd7eb36f174d498ccf1770cb26e

mGBA Game Boy Advance Emulator

Qt: Store window size setting when resizing
Jeffrey Pfau jeffrey@endrift.com
Wed, 05 Nov 2014 02:23:47 -0800
commit

a3fff6d1a5a93bd7eb36f174d498ccf1770cb26e

parent

8751f5cc0cadaa597f8677e05e4d3c11b37c3b75

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/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) {