Fix wrong QSrting::arg() being called by using two calls.

This commit is contained in:
Mm2PL 2020-01-03 15:31:39 +01:00
parent a86367f4be
commit 6c0b53a996
No known key found for this signature in database
GPG key ID: 1C400DA5602DE62E

View file

@ -85,8 +85,8 @@ void uploadImageToNuuls(RawImageData imageData, ChannelPtr channel,
QString("Your image has been uploaded. %1 left. Please " QString("Your image has been uploaded. %1 left. Please "
"wait until all of them are uploaded. About %2 " "wait until all of them are uploaded. About %2 "
"seconds left.") "seconds left.")
.arg(uploadQueue.size(), .arg(uploadQueue.size())
uploadQueue.size() * (UPLOAD_DELAY / 1000 + 1)))); .arg(uploadQueue.size() * (UPLOAD_DELAY / 1000 + 1))));
// 2 seconds for the timer that's there not to spam the remote server // 2 seconds for the timer that's there not to spam the remote server
// and 1 second of actual uploading. // and 1 second of actual uploading.