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
Родитель a2c6b68803
Коммит 3db8c33a17
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7D0F74F05C22F553
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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));
} }