all repos — mgba @ 9f3c68cb6ab310343e736b17e4b2f230c5e272e2

mGBA Game Boy Advance Emulator

Qt: Fix frame size check marks
Vicki Pfau vi@endrift.com
Sun, 12 May 2019 15:31:24 -0700
commit

9f3c68cb6ab310343e736b17e4b2f230c5e272e2

parent

459eaefcfcf75a177ddecab65e7896279109f7c5

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

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -591,9 +591,7 @@ factor = m_screenWidget->width() / size.width();

} m_savedScale = factor; for (QMap<int, Action*>::iterator iter = m_frameSizes.begin(); iter != m_frameSizes.end(); ++iter) { - bool enableSignals = iter.value()->blockSignals(true); iter.value()->setActive(iter.key() == factor); - iter.value()->blockSignals(enableSignals); } m_config->setOption("fullscreen", isFullScreen());

@@ -1294,9 +1292,7 @@ size *= i;

m_savedScale = i; m_config->setOption("scaleMultiplier", i); // TODO: Port to other resizeFrame(size); - bool enableSignals = setSize->blockSignals(true); setSize->setActive(true); - setSize->blockSignals(enableSignals); }, "frame"); setSize->setExclusive(true); if (m_savedScale == i) {