mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +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);
|
setFont(bf);
|
||||||
|
|
||||||
const QSignalBlocker blocker(this);
|
const QSignalBlocker blocker(this);
|
||||||
const int current_value = std::round((Config::Get(m_setting) - m_minimum) / m_step);
|
const int value = std::round((Config::Get(m_setting) - m_minimum) / m_step);
|
||||||
setValue(current_value);
|
setValue(value);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user