diff options
Diffstat (limited to 'src/kaiman.cc')
-rw-r--r-- | src/kaiman.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/kaiman.cc b/src/kaiman.cc index 75d3035..8a605e1 100644 --- a/src/kaiman.cc +++ b/src/kaiman.cc @@ -34,24 +34,24 @@ void __attribute__ ((constructor)) premain() { - printf("premain()\n"); - printf("locale: %s\n", setlocale(LC_ALL, "da_DK")); + printf("premain()\n"); + printf("locale: %s\n", setlocale(LC_ALL, "da_DK")); } int main(int argc, char *argv[]) { - if(argc != 2) { - printf("Usage: %s script\n", argv[0]); - return 1; - } + if(argc != 2) + { + printf("Usage: %s script\n", argv[0]); + return 1; + } - // QLocale::setDefault(QLocale(QLocale::Danish, QLocale::Denmark)); - - QApplication app(argc, argv); + // QLocale::setDefault(QLocale(QLocale::Danish, QLocale::Denmark)); - MainWindow wnd(argv[1]); - wnd.showMaximized(); + QApplication app(argc, argv); - return app.exec(); -} + MainWindow wnd(argv[1]); + wnd.showMaximized(); + return app.exec(); +} |