From b5d4c976fafd2275fd15078f8ecfa43affcb5290 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 10 Oct 2024 09:57:07 +0200 Subject: [PATCH] remove extra argument from QString::arg: string has only 1 placeholder Signed-off-by: Matthieu Gallien --- src/gui/folderman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index 5c6539a0f99e9..34592db2998c4 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -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)); }