Qt: Fix frame size check marks
Vicki Pfau vi@endrift.com
Sun, 12 May 2019 15:31:24 -0700
1 files changed,
0 insertions(+),
4 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/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) {