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

Fix pattern wallpapers with themes.

This commit is contained in:
John Preston
2019-01-29 13:57:29 +03:00
parent df0fe0a460
commit fd8e9dad92
5 changed files with 80 additions and 65 deletions

View File

@@ -409,7 +409,7 @@ void ChooseFromFile(not_null<QWidget*> parent) {
4096 * image.width());
}
Window::Theme::Background()->setImage(
Window::Theme::Background()->set(
Data::CustomWallPaper(),
std::move(image));
Window::Theme::Background()->setTile(false);