Update launcher/Application.cpp

Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Ryan Cao 2022-06-05 23:52:21 +08:00 committed by GitHub
parent 7a3acc3249
commit 757fa1410c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1569,6 +1569,7 @@ QString Application::getUserAgentUncached()
{ {
QString uaOverride = m_settings->get("UserAgentOverride").toString(); QString uaOverride = m_settings->get("UserAgentOverride").toString();
if (!uaOverride.isEmpty()) { if (!uaOverride.isEmpty()) {
uaOverride += " (Uncached)";
return uaOverride.replace("$LAUNCHER_VER", BuildConfig.printableVersionString()); return uaOverride.replace("$LAUNCHER_VER", BuildConfig.printableVersionString());
} }