mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Convert blurhash image format on worker thread
Not only should this prevent hickups, it also fixes a potential crash.
This commit is contained in:
parent
203ddb20de
commit
4428388b3f
1 changed files with 1 additions and 1 deletions
|
@ -38,5 +38,5 @@ BlurhashRunnable::run()
|
||||||
(int)decoded.width * 3,
|
(int)decoded.width * 3,
|
||||||
QImage::Format_RGB888);
|
QImage::Format_RGB888);
|
||||||
|
|
||||||
emit done(std::move(image));
|
emit done(image.convertToFormat(QImage::Format_RGB32));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue