mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-06 17:35:36 +00:00
Replaced some qstr with u""_q literal.
This commit is contained in:
@@ -221,7 +221,7 @@ void CloudThemes::resolve(
|
||||
)).done([=](const MTPTheme &result) {
|
||||
showPreview(controller, result);
|
||||
}).fail([=](const MTP::Error &error) {
|
||||
if (error.type() == qstr("THEME_FORMAT_INVALID")) {
|
||||
if (error.type() == u"THEME_FORMAT_INVALID"_q) {
|
||||
controller->show(Ui::MakeInformBox(tr::lng_theme_no_desktop()));
|
||||
}
|
||||
}).send();
|
||||
|
Reference in New Issue
Block a user