diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-22 15:51:11 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-22 15:55:46 +0100 |
commit | 34483211fc182df6b85cb344759819d80ed9d142 (patch) | |
tree | e18eafafc32508ce7a4fe414bc2ad2f81375ce8c | |
parent | 119671e4e7f4dc07c1fb20eb999a0a7fcfbbdba8 (diff) |
tracker/joy: don't save joy friendly name
We don't need it for joy selection
-rw-r--r-- | tracker-joystick/ftnoir_tracker_joystick.h | 3 | ||||
-rw-r--r-- | tracker-joystick/ftnoir_tracker_joystick_dialog.cpp | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tracker-joystick/ftnoir_tracker_joystick.h b/tracker-joystick/ftnoir_tracker_joystick.h index e94e2ee7..67061585 100644 --- a/tracker-joystick/ftnoir_tracker_joystick.h +++ b/tracker-joystick/ftnoir_tracker_joystick.h @@ -22,11 +22,10 @@ using namespace options; struct settings : opts { - value<QString> joyid, guid; + value<QString> guid; value<int> joy_1, joy_2, joy_3, joy_4, joy_5, joy_6; settings() : opts("tracker-joystick"), - joyid(b, "joy-id", ""), guid(b, "joy-guid", ""), joy_1(b, "axis-map-1", 1), joy_2(b, "axis-map-2", 2), diff --git a/tracker-joystick/ftnoir_tracker_joystick_dialog.cpp b/tracker-joystick/ftnoir_tracker_joystick_dialog.cpp index 1ca1441c..0a630c1e 100644 --- a/tracker-joystick/ftnoir_tracker_joystick_dialog.cpp +++ b/tracker-joystick/ftnoir_tracker_joystick_dialog.cpp @@ -44,7 +44,6 @@ void TrackerControls::doOK() { joys def { "", "" }; auto val = _joys.value(idx, def); s.guid = val.guid; - s.joyid = val.name; s.b->save(); this->close(); } |