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 committed by backportbot[bot]
parent 86d7d2f44c
commit b5d4c976fa

View file

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