diff options
Diffstat (limited to 'fix-locale.patch')
-rw-r--r-- | fix-locale.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fix-locale.patch b/fix-locale.patch new file mode 100644 index 000000000000..1ba64da95310 --- /dev/null +++ b/fix-locale.patch @@ -0,0 +1,20 @@ +--- src/qt4/main.cpp 2011-05-11 12:40:55.000000000 +0200 ++++ src/qt4/main.cpp 2014-03-14 16:26:05.068095390 +0100 +@@ -38,6 +38,8 @@ + #include "main_window.h" + #include "options.h" + ++#include <locale> ++ + int + main( int argc, char ** argv ) + { +@@ -51,6 +53,8 @@ main( int argc, char ** argv ) + QApplication app( argc, argv ); + //QApplication::setStyle( "plastique" ); + ++ std::locale::global( std::locale::classic() ); ++ + if ( ! Options::instance().parseCmdLine( argc, argv ) ) + { + return 1; |