mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 03:38:54 +00:00
ConfigFloatSlider: Resolve -Wshadow warning
Fairly straightforward variable shadowing.
This commit is contained in:
parent
79c84c98ed
commit
e883bbc57a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue