Rename KLocale to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent b5deb15f16
commit a7a8d7053d

@ -20,7 +20,7 @@ Changes since 0.90:
their respective list boxes. their respective list boxes.
* Convert out-of-range numbers to NaN. * Convert out-of-range numbers to NaN.
* Accept "," as a decimal separator for the benefit of European users. * Accept "," as a decimal separator for the benefit of European users.
* Use correct decimal separator (per KLocale settings) in output. * Use correct decimal separator (per TDELocale settings) in output.
* For long results, show the beginning instead of the end of the result, * For long results, show the beginning instead of the end of the result,
since the beginning is the most significant part of the result. since the beginning is the most significant part of the result.

@ -315,7 +315,7 @@ TERM: VALUE { $$ = $1; }
VALUE: NUMBER { $$ = $1; } VALUE: NUMBER { $$ = $1; }
NUMBER: NUM { NUMBER: NUM {
KLocale *locale = TDEGlobal::locale(); TDELocale *locale = TDEGlobal::locale();
QChar decimal = locale->decimalSymbol()[0]; QChar decimal = locale->decimalSymbol()[0];
// Replace current decimal separator with US Decimal separator to be // Replace current decimal separator with US Decimal separator to be

Loading…
Cancel
Save