Skip to content

Commit

Permalink
Merge pull request #7292 from nextcloud/backport/7289/stable-3.14
Browse files Browse the repository at this point in the history
[stable-3.14] remove extra argument from QString::arg: string has only 1 placeholder
  • Loading branch information
mgallien authored Oct 10, 2024
2 parents 86d7d2f + b5d4c97 commit 629cbf4
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 629cbf4

Please sign in to comment.