Make MSVC happy

Add an indication that a float value is assigned to a float variable.
This commit is contained in:
Michael Gregorius
2024-12-27 12:59:40 +01:00
parent a86ca84d57
commit 71c0ed7e89

View File

@@ -248,12 +248,12 @@ void Fader::wheelEvent (QWheelEvent* ev)
{
// The shift is intended to go through the values in very coarse steps as in:
// "Shift into overdrive"
incrementValue = 3.;
incrementValue = 3.f;
}
else if (modKeys == Qt::ControlModifier)
{
// The control key gives more control, i.e. it enables more fine-grained adjustments
incrementValue = 0.1;
incrementValue = 0.1f;
}
const float increment = incrementValue * direction;