Skip to content
Snippets Groups Projects
Commit 9d9e014a authored by Mathieu L Bouchard's avatar Mathieu L Bouchard
Browse files

hack because QApplication sets LC_NUMERIC and we don't want it.

parent ec418a5b
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ void *qt_thread_main (void *) { ...@@ -30,6 +30,7 @@ void *qt_thread_main (void *) {
int argc=0; char **argv=0; int argc=0; char **argv=0;
QApplication app(argc,argv); QApplication app(argc,argv);
app.setApplicationName("PureData L2ork for Qt"); 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; MainWindow mainWin;
mainWin.show(); mainWin.show();
app.exec(); app.exec();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment