diff options
Diffstat (limited to 'src/BlurhashProvider.cpp')
-rw-r--r-- | src/BlurhashProvider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlurhashProvider.cpp b/src/BlurhashProvider.cpp index 08dc2d40..cc7d5a73 100644 --- a/src/BlurhashProvider.cpp +++ b/src/BlurhashProvider.cpp @@ -31,7 +31,7 @@ BlurhashResponse::run() return; } - QImage image(decoded.image.data(), decoded.width, decoded.height, QImage::Format_RGB32); + QImage image(decoded.image.data(), (int)decoded.width, (int)decoded.height, QImage::Format_RGB32); m_image = image.copy(); emit finished(); |