summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 07:59:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 07:59:12 -0600
commita7a8d7053d25f615198af314f0404952a6a412b3 (patch)
tree48725a98e22c3ca65604239cf014080976c9f477
parentb5deb15f162fc723186eefdb03f5d270f0dd4b9f (diff)
downloadabakus-a7a8d7053d25f615198af314f0404952a6a412b3.tar.gz
abakus-a7a8d7053d25f615198af314f0404952a6a412b3.zip
Rename KLocale to enhance compatibility with KDE4
-rw-r--r--README2
-rw-r--r--src/parser.yy2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index f04797d..9596d3c 100644
--- a/README
+++ b/README
@@ -20,7 +20,7 @@ Changes since 0.90:
their respective list boxes.
* Convert out-of-range numbers to NaN.
* 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,
since the beginning is the most significant part of the result.
diff --git a/src/parser.yy b/src/parser.yy
index 23c6867..3632eae 100644
--- a/src/parser.yy
+++ b/src/parser.yy
@@ -315,7 +315,7 @@ TERM: VALUE { $$ = $1; }
VALUE: NUMBER { $$ = $1; }
NUMBER: NUM {
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
QChar decimal = locale->decimalSymbol()[0];
// Replace current decimal separator with US Decimal separator to be