summaryrefslogtreecommitdiff
path: root/client/pracro.cc
diff options
context:
space:
mode:
authordeva <deva>2009-03-18 14:03:58 +0000
committerdeva <deva>2009-03-18 14:03:58 +0000
commitfe56b832d8781db11911b778630d344bcc834145 (patch)
tree6b75784b6a66c593461957af2e69925c4cc12028 /client/pracro.cc
parent4696bba0897715cb79eb75fcb14169964e1562e2 (diff)
Made combobox show its background (red on invalid) even when running with plastique style.
Diffstat (limited to 'client/pracro.cc')
-rw-r--r--client/pracro.cc6
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();