2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 17:15:16 +00:00

Replaced some qstr with u""_q literal.

This commit is contained in:
23rd
2022-11-27 00:20:17 +03:00
parent 22dc7023fc
commit 2acedca6b7
99 changed files with 477 additions and 480 deletions

View File

@@ -254,7 +254,7 @@ Instance::Instance(not_null<Instance*> derived, const PrivateTag &)
void Instance::switchToId(const Language &data) {
reset(data);
if (_id == qstr("#TEST_X") || _id == qstr("#TEST_0")) {
if (_id == u"#TEST_X"_q || _id == u"#TEST_0"_q) {
for (auto &value : _values) {
value = PrepareTestValue(value, _id[5]);
}
@@ -365,8 +365,8 @@ QString Instance::id(Pack pack) const {
bool Instance::isCustom() const {
return (_id == CustomLanguageId())
|| (_id == qstr("#TEST_X"))
|| (_id == qstr("#TEST_0"));
|| (_id == u"#TEST_X"_q)
|| (_id == u"#TEST_0"_q);
}
int Instance::version(Pack pack) const {