mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
ConfigFloatSlider: Resolve -Wshadow warning
Fairly straightforward variable shadowing.
This commit is contained in:
parent
79c84c98ed
commit
e883bbc57a
@ -31,8 +31,8 @@ ConfigFloatSlider::ConfigFloatSlider(float minimum, float maximum,
|
||||
setFont(bf);
|
||||
|
||||
const QSignalBlocker blocker(this);
|
||||
const int current_value = std::round((Config::Get(m_setting) - m_minimum) / m_step);
|
||||
setValue(current_value);
|
||||
const int value = std::round((Config::Get(m_setting) - m_minimum) / m_step);
|
||||
setValue(value);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user