From 71c0ed7e895ac8c6222b8c2e36706340a6a9bc3b Mon Sep 17 00:00:00 2001 From: Michael Gregorius Date: Fri, 27 Dec 2024 12:59:40 +0100 Subject: [PATCH] Make MSVC happy Add an indication that a float value is assigned to a float variable. --- src/gui/widgets/Fader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/widgets/Fader.cpp b/src/gui/widgets/Fader.cpp index 2d6edae69..111c4520c 100644 --- a/src/gui/widgets/Fader.cpp +++ b/src/gui/widgets/Fader.cpp @@ -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;