mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-13 15:03:36 +00:00
Alpha 1.0.1 for Windows: Qt bugfix backported for large files write.
Also the initial background saved as JPG to reduce the Telegram.exe file size below 32 MB. Currently deployed versions can't autoupdate to a file that is larger than 32 MB due to a critical Qt bug.
This commit is contained in:
@@ -400,7 +400,7 @@ void ChatBackground::setImage(int32 id, QImage &&image) {
|
||||
setPreparedImage(std_::move(image));
|
||||
} else {
|
||||
if (_id == kInitialBackground) {
|
||||
image.load(qsl(":/gui/art/bg_initial.png"));
|
||||
image.load(qsl(":/gui/art/bg_initial.jpg"));
|
||||
if (cRetina()) {
|
||||
image = image.scaledToWidth(image.width() * 2, Qt::SmoothTransformation);
|
||||
} else if (cScale() != dbisOne) {
|
||||
|
||||
Reference in New Issue
Block a user