Fix encoding used for override server url

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-10-24 18:08:47 +08:00 committed by Matthieu Gallien
parent 8268c0fb87
commit 96e2264baa

View file

@ -384,7 +384,7 @@ Theme::Theme()
_forceOverrideServerUrl = true;
#endif
#ifdef APPLICATION_SERVER_URL
setOverrideServerUrl(QString::fromLatin1(APPLICATION_SERVER_URL));
setOverrideServerUrl(QString::fromUtf8(APPLICATION_SERVER_URL));
#endif
}