remove extra argument from QString::arg: string has only 1 placeholder

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2024-10-10 09:57:07 +02:00
parent a2c6b68803
commit 3db8c33a17
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553

View file

@ -1747,7 +1747,7 @@ QString FolderMan::trayTooltipStatusString(SyncResult::Status syncStatus, bool h
QString totalSizeStr = Utility::octetsToString(progress->totalSize());
if (progress->trustEta()) {
if (estimatedEta == 0) {
folderMessage = tr("Syncing %1 (A few seconds left)").arg(totalSizeStr, Utility::durationToDescriptiveString1(estimatedEta));
folderMessage = tr("Syncing %1 (A few seconds left)").arg(totalSizeStr);
} else {
folderMessage = tr("Syncing %1 (%2 left)").arg(totalSizeStr, Utility::durationToDescriptiveString1(estimatedEta));
}