From 8c9bb3a84b907a4792cb44c11a960256e8f6d0b9 Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 16 Sep 2021 15:03:28 +0200 Subject: [PATCH] UI: Fix AuthListener error HTTP response body --- UI/auth-listener.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/auth-listener.cpp b/UI/auth-listener.cpp index ec057f24e..12a7d72fe 100644 --- a/UI/auth-listener.cpp +++ b/UI/auth-listener.cpp @@ -95,7 +95,8 @@ void AuthListener::NewConnection() } if (code.isEmpty()) { - auto data = QTStr("YouTube.Auth.NoCode"); + auto data = responseTemplate.arg( + QTStr("YouTube.Auth.NoCode")); socket->write(QT_TO_UTF8(data)); emit fail(); } else {