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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user