diff --git a/src/library/basetracktablemodel.cpp b/src/library/basetracktablemodel.cpp index e9ac6597b1d..4255e906a80 100644 --- a/src/library/basetracktablemodel.cpp +++ b/src/library/basetracktablemodel.cpp @@ -420,7 +420,7 @@ QVariant BaseTrackTableModel::data( DEBUG_ASSERT(bgColor.isValid()); DEBUG_ASSERT(m_backgroundColorOpacity >= 0.0); DEBUG_ASSERT(m_backgroundColorOpacity <= 1.0); - bgColor.setAlphaF(m_backgroundColorOpacity); + bgColor.setAlphaF(static_cast(m_backgroundColorOpacity)); return QBrush(bgColor); }