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:
@@ -595,6 +595,8 @@ QString readAutoupdatePrefix() {
|
||||
}
|
||||
|
||||
void writeBackground(const Data::WallPaper &paper, const QImage &image) {
|
||||
Expects(_settingsWriteAllowed);
|
||||
|
||||
if (!_backgroundCanWrite) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user