diff --git a/src/utils/starrating.cpp b/src/utils/starrating.cpp index 1e71e181..9c96e95e 100644 --- a/src/utils/starrating.cpp +++ b/src/utils/starrating.cpp @@ -104,7 +104,7 @@ void StarRating::paint(QPainter* painter, const QRect& rect, const QPalette& pal .arg(m_maxCount) .arg(mode == EditMode::Editable ? 1 : 0) .arg(rect.width()) - .arg(alignment); + .arg(alignment.toInt()); QPixmap pixmap; if(!QPixmapCache::find(cacheKey, &pixmap)) {