summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/kolibs/koUnitWidgets.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/3rdparty/kolibs/koUnitWidgets.cc')
-rw-r--r--kexi/3rdparty/kolibs/koUnitWidgets.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/3rdparty/kolibs/koUnitWidgets.cc b/kexi/3rdparty/kolibs/koUnitWidgets.cc
index 2b4b76b7..731c38bd 100644
--- a/kexi/3rdparty/kolibs/koUnitWidgets.cc
+++ b/kexi/3rdparty/kolibs/koUnitWidgets.cc
@@ -89,7 +89,7 @@ KoUnitDoubleValidator::validate( TQString &s, int &pos ) const
TQString KoUnitDoubleBase::getVisibleText( double value ) const
{
- const TQString num ( TQString( "%1%2").tqarg( KGlobal::locale()->formatNumber( value, m_precision ), KoUnit::unitName( m_unit ) ) );
+ const TQString num ( TQString( "%1%2").arg( KGlobal::locale()->formatNumber( value, m_precision ), KoUnit::unitName( m_unit ) ) );
kdDebug(30004) << "getVisibleText: " << TQString::number( value, 'f', 12 ) << " => " << num << endl;
return num;
}