From: Matthieu Gallien Date: Thu, 10 Oct 2024 07:57:07 +0000 (+0200) Subject: remove extra argument from QString::arg: string has only 1 placeholder X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~133^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3db8c33a17f3ae0cd7298a333e4831cd795f46ec;p=nextcloud-desktop.git remove extra argument from QString::arg: string has only 1 placeholder Signed-off-by: Matthieu Gallien --- diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index 5c6539a0f..34592db29 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)); }