Skip to content

Commit

Permalink
remove extra argument from QString::arg: string has only 1 placeholder
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien authored and backportbot[bot] committed Oct 10, 2024
1 parent 86d7d2f commit b5d4c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/folderman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit b5d4c97

Please sign in to comment.