summaryrefslogtreecommitdiffhomepage
path: root/variant/trackmouse/window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-16 04:38:04 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-16 06:45:52 +0100
commitf99eef18c475df2a4080bc652774e8e9f001037c (patch)
tree695f01a4768591d91c2d3adb2335b90f0bc2a78c /variant/trackmouse/window.cpp
parent2b1c5593b0bc1ebfcd2e808f128e4b0312f59d93 (diff)
trackmouse: more work
Diffstat (limited to 'variant/trackmouse/window.cpp')
-rw-r--r--variant/trackmouse/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/variant/trackmouse/window.cpp b/variant/trackmouse/window.cpp
index 7566f6ca..73f91c74 100644
--- a/variant/trackmouse/window.cpp
+++ b/variant/trackmouse/window.cpp
@@ -2,6 +2,8 @@
#include <QApplication>
+void force_trackmouse_settings();
+
void window::closeEvent(QCloseEvent* e)
{
e->accept();
@@ -13,6 +15,8 @@ window::window() : QMainWindow()
ui.setupUi(this);
setAttribute(Qt::WA_QuitOnClose);
+ force_trackmouse_settings();
+
show();
}