diff options
| author | Laurent Montel <[email protected]> | 2006-11-23 13:10:00 +0000 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2006-11-23 13:10:00 +0000 |
| commit | 7fbae445277374fb2bacfcd7c04e8d7fbb2c3f05 (patch) | |
| tree | 61345a66d7ce53305102454387617a20e6578d13 /src/statusbarspaceinfo.cpp | |
| parent | 9d26e139f8098fdbf44c5ff183738a15e4388dfa (diff) | |
Fix i18n
svn path=/trunk/playground/utils/dolphin/; revision=607156
Diffstat (limited to 'src/statusbarspaceinfo.cpp')
| -rw-r--r-- | src/statusbarspaceinfo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp index 3c6073ca5..0b2c4d133 100644 --- a/src/statusbarspaceinfo.cpp +++ b/src/statusbarspaceinfo.cpp @@ -91,9 +91,7 @@ void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */) } painter.drawRect(QRect(left, barTop + 2, right, barHeight - 2)); - text = i18n("%1% of %2 used") - .arg( 100 - (int)(100.0 * m_kBAvailable / m_kBSize)) - .arg(KIO::convertSizeFromKiB(m_kBSize)); + text = i18n("%1% of %2 used", QString::number(100 - (int)(100.0 * m_kBAvailable / m_kBSize)), KIO::convertSizeFromKiB(m_kBSize)); } else { if (m_gettingSize) { |
