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:
John Preston
2017-01-17 11:50:22 +03:00
parent 041e366df7
commit 8f31e1ab31
6 changed files with 22 additions and 3 deletions
+1 -1
View File
@@ -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) {