diff --git a/src/plugins/debugger/watchdata.cpp b/src/plugins/debugger/watchdata.cpp index eace00a0072..e2cd90b40c5 100644 --- a/src/plugins/debugger/watchdata.cpp +++ b/src/plugins/debugger/watchdata.cpp @@ -394,7 +394,7 @@ QString WatchData::toToolTip() const formatToolTipRow(str, tr("Referencing Address"), QString::fromLatin1(hexReferencingAddress())); if (size) - formatToolTipRow(str, tr("Static Object Size"), tr("%1 bytes").arg(size)); + formatToolTipRow(str, tr("Static Object Size"), tr("%n bytes", 0, size)); formatToolTipRow(str, tr("Internal ID"), QLatin1String(iname)); str << ""; return res; diff --git a/src/plugins/remotelinux/remotelinuxcheckforfreediskspaceservice.cpp b/src/plugins/remotelinux/remotelinuxcheckforfreediskspaceservice.cpp index 1c9a59fff27..7837accc367 100644 --- a/src/plugins/remotelinux/remotelinuxcheckforfreediskspaceservice.cpp +++ b/src/plugins/remotelinux/remotelinuxcheckforfreediskspaceservice.cpp @@ -110,8 +110,8 @@ void RemoteLinuxCheckForFreeDiskSpaceService::handleProcessFinished() return; } - emit progressMessage(tr("The remote file system has %1 bytes of free space, going ahead.") - .arg(freeSpace)); + emit progressMessage(tr("The remote file system has %n bytes of free space, going ahead.", + 0, freeSpace)); stopDeployment(); } diff --git a/src/plugins/vcsbase/cleandialog.cpp b/src/plugins/vcsbase/cleandialog.cpp index 7dae41714a8..afcb79249f5 100644 --- a/src/plugins/vcsbase/cleandialog.cpp +++ b/src/plugins/vcsbase/cleandialog.cpp @@ -219,8 +219,7 @@ void CleanDialog::addFile(const QString &workingDirectory, QString fileName, boo // Tooltip with size information if (fi.isFile()) { const QString lastModified = fi.lastModified().toString(Qt::DefaultLocaleShortDate); - nameItem->setToolTip(tr("%1 bytes, last modified %2") - .arg(fi.size()).arg(lastModified)); + nameItem->setToolTip(tr("%n bytes, last modified %1", 0, fi.size()).arg(lastModified)); } d->m_filesModel->appendRow(nameItem); }