diff --git a/pd/src/g_qt.cpp b/pd/src/g_qt.cpp index f73a75c38bd615cc2cca1db75acd7d9f6e79c5a1..036e920d7e4b216e78ca606757e56fb7dec11f84 100644 --- a/pd/src/g_qt.cpp +++ b/pd/src/g_qt.cpp @@ -30,6 +30,7 @@ void *qt_thread_main (void *) { int argc=0; char **argv=0; QApplication app(argc,argv); app.setApplicationName("PureData L2ork for Qt"); + setlocale(LC_NUMERIC,"C"); //HACK because QApplication constructor sets LC_NUMERIC while pd assumes a C locale. MainWindow mainWin; mainWin.show(); app.exec();