summaryrefslogtreecommitdiffstats
path: root/kcontrol/info/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/info/memory.cpp')
-rw-r--r--kcontrol/info/memory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kcontrol/info/memory.cpp b/kcontrol/info/memory.cpp
index 483f7dd1d..49cb03dde 100644
--- a/kcontrol/info/memory.cpp
+++ b/kcontrol/info/memory.cpp
@@ -80,11 +80,11 @@ static TQString formatted_unit(t_memsize value)
{
if (value > (1024 * 1024))
if (value > (1024 * 1024 * 1024))
- return i18n("%1 GB").arg(KGlobal::locale()->formatNumber(value / (1024 * 1024 * 1024.0), 2));
+ return i18n("%1 GB").arg(TDEGlobal::locale()->formatNumber(value / (1024 * 1024 * 1024.0), 2));
else
- return i18n("%1 MB").arg(KGlobal::locale()->formatNumber(value / (1024 * 1024.0), 2));
+ return i18n("%1 MB").arg(TDEGlobal::locale()->formatNumber(value / (1024 * 1024.0), 2));
else
- return i18n("%1 KB").arg(KGlobal::locale()->formatNumber(value / 1024.0, 2));
+ return i18n("%1 KB").arg(TDEGlobal::locale()->formatNumber(value / 1024.0, 2));
}
KMemoryWidget::KMemoryWidget(TQWidget * parent, const char *name)
@@ -368,7 +368,7 @@ void KMemoryWidget::update_Values()
label->clear();
else
label->setText(i18n("%1 bytes =").
- arg(KGlobal::locale()->
+ arg(TDEGlobal::locale()->
formatNumber(Memory_Info[i], 0)));
}