summaryrefslogtreecommitdiff
path: root/src/kaiman.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-09-05 19:57:14 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-09-05 19:57:14 +0200
commit4ae6300717a10c7fa850b800f18a730aee1d3e07 (patch)
tree455ae17634f5bbd8b18ce3a256db2647853bd600 /src/kaiman.cc
parentf4b015398462fff1a64d70b632390b4f06fe3bbe (diff)
Internal code editor. Sound system.
Diffstat (limited to 'src/kaiman.cc')
-rw-r--r--src/kaiman.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/kaiman.cc b/src/kaiman.cc
index 82dcfdd..75d3035 100644
--- a/src/kaiman.cc
+++ b/src/kaiman.cc
@@ -27,7 +27,16 @@
*/
#include <QApplication>
+#include <QLocale>
+
#include "mainwindow.h"
+#include <locale.h>
+
+void __attribute__ ((constructor)) premain()
+{
+ printf("premain()\n");
+ printf("locale: %s\n", setlocale(LC_ALL, "da_DK"));
+}
int main(int argc, char *argv[])
{
@@ -36,10 +45,12 @@ int main(int argc, char *argv[])
return 1;
}
+ // QLocale::setDefault(QLocale(QLocale::Danish, QLocale::Denmark));
+
QApplication app(argc, argv);
MainWindow wnd(argv[1]);
- // wnd.show();
+ wnd.showMaximized();
return app.exec();
}