aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2021-04-08 21:29:10 +0200
committerGitHub <noreply@github.com>2021-04-08 21:29:10 +0200
commit4ca481b2b34e711112eb7a257fc2385c0dce9dd2 (patch)
tree71de507b05d1a184031b4679fca25a288f87548a /libraries
parente5804b1279cd0588d9434f298675ccd89fe21fc8 (diff)
parent524fc5b6ecf9e5f193db1173164ae23c6e6702b1 (diff)
downloadPrismLauncher-4ca481b2b34e711112eb7a257fc2385c0dce9dd2.tar.gz
PrismLauncher-4ca481b2b34e711112eb7a257fc2385c0dce9dd2.tar.bz2
PrismLauncher-4ca481b2b34e711112eb7a257fc2385c0dce9dd2.zip
Merge pull request #3715 from jamierocks/atl-trycatch-json
NOISSUE Fedora build, ATL exceptions, and language tweaks
Diffstat (limited to 'libraries')
-rw-r--r--libraries/ganalytics/src/ganalytics_worker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ganalytics/src/ganalytics_worker.cpp b/libraries/ganalytics/src/ganalytics_worker.cpp
index 5980d3bd..b0ae75a4 100644
--- a/libraries/ganalytics/src/ganalytics_worker.cpp
+++ b/libraries/ganalytics/src/ganalytics_worker.cpp
@@ -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();