remove extra argument from QString::arg: string has only 1 placeholder
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 10 Oct 2024 07:57:07 +0000 (09:57 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 10 Oct 2024 07:57:07 +0000 (09:57 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/folderman.cpp

index 5c6539a0f99e90c057244551b3b015a077a91460..34592db2998c43fef9c26d35fe39343356eab31f 100644 (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));
                     }