diff options
author | Slávek Banko <[email protected]> | 2016-04-09 20:52:31 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-04-09 20:52:31 +0200 |
commit | c5f75332bb8fa8d1a0a28037b4cc8f7f71e37f8f (patch) | |
tree | 1ec78a7a0c522677ca47ba31aed55edb1e9853d0 /src/preferences.cpp | |
parent | 91d2d7482c36e67cb36df9d1dcdbd989911e4ceb (diff) | |
download | qalculate-tde-c5f75332bb8fa8d1a0a28037b4cc8f7f71e37f8f.tar.gz qalculate-tde-c5f75332bb8fa8d1a0a28037b4cc8f7f71e37f8f.zip |
Initial TDE conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/preferences.cpp')
-rw-r--r-- | src/preferences.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preferences.cpp b/src/preferences.cpp index 7d768ec..f4f4011 100644 --- a/src/preferences.cpp +++ b/src/preferences.cpp @@ -30,7 +30,7 @@ #include <unistd.h> #include <dirent.h> #include <stdio.h> -#include <klocale.h> +#include <tdelocale.h> #include <tqstringlist.h> #include <ktextbrowser.h> #include <tqwidgetstack.h> @@ -200,7 +200,7 @@ void load_preferences() { evalops.assume_denominators_nonzero = true; evalops.warn_about_denominators_assumed_nonzero = true; evalops.parse_options.angle_unit = ANGLE_UNIT_RADIANS; - evalops.parse_options.dot_as_separator = KGlobal::locale()->thousandsSeparator() == "."; + evalops.parse_options.dot_as_separator = TDEGlobal::locale()->thousandsSeparator() == "."; rpn_mode = false; rpn_keypad_only = true; |