diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-25 16:02:11 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-25 16:07:22 +0200 |
commit | 0a4ae142dcce7b4e5347eac9ca93f427a9068016 (patch) | |
tree | 66e0a8143434c22769bb958d19f7bcaa3d7e6320 | |
parent | c646196b343aa29f0171d2600c90287cc5ddeee1 (diff) |
library/basecoverartdelegate: Add missing typecast
-rw-r--r-- | src/library/basecoverartdelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/basecoverartdelegate.cpp b/src/library/basecoverartdelegate.cpp index d957f35940..7694fcfd36 100644 --- a/src/library/basecoverartdelegate.cpp +++ b/src/library/basecoverartdelegate.cpp @@ -119,7 +119,7 @@ void BaseCoverArtDelegate::paintItem( QPixmap pixmap = m_pCache->tryLoadCover( this, coverInfo, - option.rect.width() * scaleFactor, + static_cast<int>(option.rect.width() * scaleFactor), m_inhibitLazyLoading ? CoverArtCache::Loading::CachedOnly : CoverArtCache::Loading::Default); if (pixmap.isNull()) { // Cache miss |