Qt: Store window size setting when resizing

This commit is contained in:
Jeffrey Pfau 2014-11-05 02:23:47 -08:00
parent 8751f5cc0c
commit a3fff6d1a5
1 changed files with 2 additions and 0 deletions

View File

@ -230,6 +230,8 @@ void Window::keyReleaseEvent(QKeyEvent* event) {
void Window::resizeEvent(QResizeEvent*) { void Window::resizeEvent(QResizeEvent*) {
redoLogo(); redoLogo();
m_config->setOption("height", m_screenWidget->height());
m_config->setOption("width", m_screenWidget->width());
} }
void Window::closeEvent(QCloseEvent* event) { void Window::closeEvent(QCloseEvent* event) {