diff options
| author | Jason E. Hale <jhale@FreeBSD.org> | 2025-12-18 15:11:18 -0500 |
|---|---|---|
| committer | Jason E. Hale <jhale@FreeBSD.org> | 2025-12-18 16:39:01 -0500 |
| commit | 9cd5fc63ae7a40981a2794896a9f6e532d0cc1bd (patch) | |
| tree | 6e357e59090b43598365c92f10ff6a649e6df199 /audio/fooyin/files/patch-src_utils_starrating.cpp | |
| parent | graphics/opencsg: Fix pkg-plist (diff) | |
audio/fooyin: Fix build with Qt 6.10.1
With hat: kde@
Diffstat (limited to 'audio/fooyin/files/patch-src_utils_starrating.cpp')
| -rw-r--r-- | audio/fooyin/files/patch-src_utils_starrating.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/fooyin/files/patch-src_utils_starrating.cpp b/audio/fooyin/files/patch-src_utils_starrating.cpp new file mode 100644 index 000000000000..d6bba85b0a9f --- /dev/null +++ b/audio/fooyin/files/patch-src_utils_starrating.cpp @@ -0,0 +1,16 @@ +Fix build with Qt 6.10.1. The QString::arg() method no longer accepts +implicit conversions. [1] + +[1] https://doc.qt.io/qt-6/qstring.html#arg-2 + +--- src/utils/starrating.cpp.orig 2025-09-21 21:11:29 UTC ++++ src/utils/starrating.cpp +@@ -104,7 +104,7 @@ void StarRating::paint(QPainter* painter, const QRect& + .arg(m_maxCount) + .arg(mode == EditMode::Editable ? 1 : 0) + .arg(rect.width()) +- .arg(alignment); ++ .arg(alignment.toInt()); + + QPixmap pixmap; + if(!QPixmapCache::find(cacheKey, &pixmap)) { |
