NOISSUE Fix string formatting issues

This allows translations to have more control over the output :)
This commit is contained in:
Jamie Mansfield
2021-04-08 18:46:22 +01:00
parent 64617201b0
commit 524fc5b6ec
3 changed files with 8 additions and 8 deletions

View File

@ -237,7 +237,7 @@ void GAnalyticsWorker::postMessageFinished()
int httpStausCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
if (httpStausCode < 200 || httpStausCode > 299)
{
logMessage(GAnalytics::Error, QString("Error posting message: %s").arg(reply->errorString()));
logMessage(GAnalytics::Error, QString("Error posting message: %1").arg(reply->errorString()));
// An error ocurred. Try sending later.
m_timer.start();