┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbarspaceinfo.cpp
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2006-11-22 08:22:45 +0000
committerLaurent Montel <[email protected]>2006-11-22 08:22:45 +0000
commit20b58b6c03f6fa56d0cc1da90c13658664c153f1 (patch)
tree1ac95537c3d0c6f35e5ca9dbbf7fe9c90e14a3b7 /src/statusbarspaceinfo.cpp
parent6987f297e6e275a1f46aa0f33919e86684c9ed8b (diff)
Some port
Remove not necessary file svn path=/trunk/playground/utils/dolphin/; revision=606884
Diffstat (limited to 'src/statusbarspaceinfo.cpp')
-rw-r--r--src/statusbarspaceinfo.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}