summaryrefslogtreecommitdiffstats
path: root/src/widget/woverview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/woverview.cpp')
-rw-r--r--src/widget/woverview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/woverview.cpp b/src/widget/woverview.cpp
index 71654bb1bf..f925bc72ad 100644
--- a/src/widget/woverview.cpp
+++ b/src/widget/woverview.cpp
@@ -912,7 +912,7 @@ void WOverview::drawMarks(QPainter* pPainter, const float offset, const float ga
if (rect.isValid()) {
QColor loopColor = pMark->fillColor();
- loopColor.setAlphaF(0.5);
+ loopColor.setAlphaF(0.5f);
pPainter->fillRect(rect, loopColor);
}
@@ -1260,7 +1260,7 @@ void WOverview::drawPassthroughOverlay(QPainter* pPainter) {
void WOverview::paintText(const QString& text, QPainter* pPainter) {
PainterScope painterScope(pPainter);
- m_lowColor.setAlphaF(0.5);
+ m_lowColor.setAlphaF(0.5f);
QPen lowColorPen(
QBrush(m_lowColor), 1.25 * m_scaleFactor, Qt::SolidLine, Qt::RoundCap);
pPainter->setPen(lowColorPen);