From 7fbae445277374fb2bacfcd7c04e8d7fbb2c3f05 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 23 Nov 2006 13:10:00 +0000 Subject: Fix i18n svn path=/trunk/playground/utils/dolphin/; revision=607156 --- src/statusbarspaceinfo.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/statusbarspaceinfo.cpp') 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) { -- cgit v1.3