2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix app start without data.

This commit is contained in:
John Preston
2020-06-29 20:07:56 +04:00
parent 40971d6da6
commit cbad993bba
5 changed files with 23 additions and 15 deletions

View File

@@ -595,6 +595,8 @@ QString readAutoupdatePrefix() {
}
void writeBackground(const Data::WallPaper &paper, const QImage &image) {
Expects(_settingsWriteAllowed);
if (!_backgroundCanWrite) {
return;
}