From 6c0b53a9966a714e417443d47f9055d1eaa9b07e Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Fri, 3 Jan 2020 15:31:39 +0100 Subject: [PATCH] Fix wrong QSrting::arg() being called by using two calls. --- src/util/NuulsUploader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/NuulsUploader.cpp b/src/util/NuulsUploader.cpp index a51d5e87..35598a37 100644 --- a/src/util/NuulsUploader.cpp +++ b/src/util/NuulsUploader.cpp @@ -85,8 +85,8 @@ void uploadImageToNuuls(RawImageData imageData, ChannelPtr channel, QString("Your image has been uploaded. %1 left. Please " "wait until all of them are uploaded. About %2 " "seconds left.") - .arg(uploadQueue.size(), - uploadQueue.size() * (UPLOAD_DELAY / 1000 + 1)))); + .arg(uploadQueue.size()) + .arg(uploadQueue.size() * (UPLOAD_DELAY / 1000 + 1)))); // 2 seconds for the timer that's there not to spam the remote server // and 1 second of actual uploading.