Qt: Fix opening in fullscreen (fixes #993)

This commit is contained in:
Vicki Pfau 2018-02-24 15:01:28 -05:00
parent f511e937db
commit 89d6770abd
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,7 @@ Bugfixes:
- GBA: Fix some GBA ROM misdetection (fixes mgba.io/i/978)
- GBA Hardware: RTC accuracy improvements
- GBA: Fix SharkPort saves for EEPROM games
- Qt: Fix opening in fullscreen (fixes mgba.io/i/993)
Misc:
- GBA: Improve multiboot image detection
- GB MBC: Remove erroneous bank 0 wrapping

View File

@ -244,7 +244,9 @@ void Window::resizeFrame(const QSize& size) {
m_screenWidget->setSizeHint(newSize);
newSize -= m_screenWidget->size();
newSize += this->size();
if (!isFullScreen()) {
resize(newSize);
}
}
void Window::setConfig(ConfigController* config) {