summaryrefslogtreecommitdiff
path: root/lsmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lsmainwindow.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lsmainwindow.cpp b/lsmainwindow.cpp
new file mode 100644
index 0000000..5798d55
--- /dev/null
+++ b/lsmainwindow.cpp
@@ -0,0 +1,16 @@
+#include "lsmainwindow.h"
+
+LSMainWindow::LSMainWindow(QWidget *parent) : QMainWindow(parent) {
+ ui.setupUi(this);
+}
+
+void LSMainWindow::changeEvent(QEvent *e) {
+ QMainWindow::changeEvent(e);
+ switch (e->type()) {
+ case QEvent::LanguageChange:
+ ui.retranslateUi(this);
+ break;
+ default:
+ break;
+ }
+}