frontend,shared: Replace and disable QByteArray to char * casts

This commit is contained in:
gxalpha
2025-01-18 20:22:57 +01:00
committed by Ryan Foster
parent 63d7f7fb55
commit 9b1d1493ab
6 changed files with 12 additions and 11 deletions

View File

@@ -81,7 +81,7 @@ GoLiveApi::Config DownloadGoLiveConfig(QWidget *parent, QString url, const GoLiv
std::vector<std::string> headers;
headers.push_back("Content-Type: application/json");
bool encodeConfigDownloadedOk = GetRemoteFile(url.toLocal8Bit(), encodeConfigText,
bool encodeConfigDownloadedOk = GetRemoteFile(url.toUtf8().constData(), encodeConfigText,
libraryError, // out params
nullptr,
nullptr, // out params (response code and content type)