summaryrefslogtreecommitdiffhomepage
path: root/tracker-joystick
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-09 11:41:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-09 11:41:49 +0200
commit1b9dcf43be582c2719b9d5bf10b15acd59eac944 (patch)
tree6a3379e01a619248a367ec718843bc1aeb9bfae6 /tracker-joystick
parent3a1458031b50fce43419a8b80924cc9439248c73 (diff)
tracker/{joystick,pt,rift-{025,042,080}}: options api cleanup only
Diffstat (limited to 'tracker-joystick')
-rw-r--r--tracker-joystick/ftnoir_tracker_joystick_dialog.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tracker-joystick/ftnoir_tracker_joystick_dialog.cpp b/tracker-joystick/ftnoir_tracker_joystick_dialog.cpp
index 3bacc877..035beef6 100644
--- a/tracker-joystick/ftnoir_tracker_joystick_dialog.cpp
+++ b/tracker-joystick/ftnoir_tracker_joystick_dialog.cpp
@@ -11,13 +11,13 @@ TrackerControls::TrackerControls() : tracker(nullptr)
{
win32_joy_ctx joy_ctx;
-
+
_joys = QList<joys>();
-
+
for (auto j : joy_ctx.get_joy_info())
_joys.push_back(joys { j.name, j.guid });
}
-
+
{
const QString guid = s.guid;
int idx = 0;
@@ -49,6 +49,5 @@ void TrackerControls::doOK() {
}
void TrackerControls::doCancel() {
- s.b->reload();
close();
}