mirror of https://github.com/mgba-emu/mgba.git
Qt: Store window size setting when resizing
This commit is contained in:
parent
8751f5cc0c
commit
a3fff6d1a5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue