diff options
| author | Stenzek <stenzek@users.noreply.github.com> | 2018-05-03 23:28:02 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-03 23:28:02 +1000 |
| commit | 47fe1c852ff78f7bfd8540d24226ac2541cc950a (patch) | |
| tree | b5016eecdc32bfe87e26071ff09a62693aaeffd1 /Source/Core | |
| parent | 467379c14924c9c63ea5175ab76598143f833e4c (diff) | |
| parent | a61445919d3b84f8dacffe07f7511a4173e2b34f (diff) | |
Merge pull request #6746 from spycrab/qt_slider
Qt/GraphicsSlider: Fix random crashes
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp b/Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp index 60f146c23e..b7dcb46dd7 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp @@ -23,7 +23,10 @@ GraphicsSlider::GraphicsSlider(int minimum, int maximum, const Config::ConfigInf QFont bf = font(); bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base); setFont(bf); + + bool old = blockSignals(true); setValue(Config::Get(m_setting)); + blockSignals(old); }); } |
