summarylogtreecommitdiffstats
path: root/fix-locale.patch
blob: 1ba64da95310b9981537f8ae9d7990ff45679e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;