mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-06 01:16:12 +00:00
Replaced some qstr with u""_q literal.
This commit is contained in:
@@ -347,7 +347,7 @@ void QrWidget::handleTokenResult(const MTPauth_LoginToken &result) {
|
||||
|
||||
void QrWidget::showTokenError(const MTP::Error &error) {
|
||||
_requestId = 0;
|
||||
if (error.type() == qstr("SESSION_PASSWORD_NEEDED")) {
|
||||
if (error.type() == u"SESSION_PASSWORD_NEEDED"_q) {
|
||||
sendCheckPasswordRequest();
|
||||
} else if (base::take(_forceRefresh)) {
|
||||
refreshCode();
|
||||
|
Reference in New Issue
Block a user