[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 83972] KOffice 1.3.1 does not compile on KDE 3.1/Qt 3.1
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-10-01 20:21:39
Message-ID: 20041001202139.21976.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
        
http://bugs.kde.org/show_bug.cgi?id=83972        




------- Additional Comments From nicolasg snafu de  2004-10-01 22:21 -------
CVS commit by goutte: 

Compile again with Qt 3.1. (I am sorry to have broken it.)
CCMAIL:83972 bugs kde org


  M +5 -0      koUnitWidgets.cc   1.5.2.4


--- koffice/lib/kofficeui/koUnitWidgets.cc  #1.5.2.3:1.5.2.4
 @ -131,5 +131,10  @ KoUnitDoubleValidator::validate( QString
 QString KoUnitDoubleBase::getVisibleText( double value ) const
 {
+#if QT_VERSION > 0x030102
     const QString num ( QString( "%1%2").arg( KGlobal::locale()->formatNumber( \
value, m_precision ), KoUnit::unitName( m_unit ) ) ); +#else
+    const QString num ( QString( "%1%2").arg( KGlobal::locale()->formatNumber( \
value, m_precision ) ).arg( KoUnit::unitName( m_unit ) ) ); +#endif
+
     kdDebug(30004) << "getVisibleText: " << QString::number( value, 'f', 12 ) << " \
=> " << num << endl;  return num;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic