diff options
Diffstat (limited to 'client/pracro.cc')
-rw-r--r-- | client/pracro.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/pracro.cc b/client/pracro.cc index e33ebfc..e47ff1d 100644 --- a/client/pracro.cc +++ b/client/pracro.cc @@ -31,6 +31,8 @@ #include <QStringList> #include <QSettings> +#include <QTranslator> + #include "netcom.h" #include "mainwindow.h" @@ -142,6 +144,10 @@ int main(int argc, char *argv[]) port = settings.value("port").toInt(); settings.endGroup(); + QTranslator translator; + translator.load("pracro_dk"); + app.installTranslator(&translator); + MainWindow mainwindow(cpr, course, host, port, user); mainwindow.show(); |