Silence some conversion warnings

This commit is contained in:
Jonas Kvinge
2022-02-06 04:19:45 +01:00
parent 8bf473dc3a
commit eee3445d2f
7 changed files with 17 additions and 17 deletions

View File

@@ -424,8 +424,8 @@ void VolumeSlider::drawVolumeSliderHandle() {
painter.drawImage(0, 0, pixmapHandle);
// BEGIN Calculate handle animation pixmaps for mouse-over effect
float opacity = 0.0;
const float step = 1.0 / ANIM_MAX;
float opacity = 0.0F;
const float step = 1.0F / ANIM_MAX;
QImage dst;
handle_pixmaps_.clear();
for (int i = 0; i < ANIM_MAX; ++i) {