From 20b58b6c03f6fa56d0cc1da90c13658664c153f1 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 22 Nov 2006 08:22:45 +0000 Subject: Some port Remove not necessary file svn path=/trunk/playground/utils/dolphin/; revision=606884 --- src/statusbarspaceinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/statusbarspaceinfo.cpp') diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp index ddcf1b761..fbb64c9a3 100644 --- a/src/statusbarspaceinfo.cpp +++ b/src/statusbarspaceinfo.cpp @@ -93,7 +93,7 @@ void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */) text = i18n("%1% of %2 used") .arg( 100 - (int)(100.0 * m_kBAvailable / m_kBSize)) - .arg(KIO::convertSizeFromKB(m_kBSize)); + .arg(KIO::convertSizeFromKiB(m_kBSize)); } else { if (m_gettingSize) { @@ -108,7 +108,7 @@ void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */) // draw text (usually 'X% of Y GB used') painter.setPen(KGlobalSettings::textColor()); painter.drawText(QRect(1, 1, barWidth - 2, barHeight + 4), - Qt::AlignHCenter | Qt::AlignVCenter | Qt::WordBreak, + Qt::AlignHCenter | Qt::AlignVCenter | Qt::TextWordWrap, text); } -- cgit v1.3