UI: Fix AuthListener error HTTP response body
parent
37ab69aa46
commit
8c9bb3a84b
|
@ -95,7 +95,8 @@ void AuthListener::NewConnection()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (code.isEmpty()) {
|
if (code.isEmpty()) {
|
||||||
auto data = QTStr("YouTube.Auth.NoCode");
|
auto data = responseTemplate.arg(
|
||||||
|
QTStr("YouTube.Auth.NoCode"));
|
||||||
socket->write(QT_TO_UTF8(data));
|
socket->write(QT_TO_UTF8(data));
|
||||||
emit fail();
|
emit fail();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue