diff options
Diffstat (limited to 'ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp')
-rw-r--r-- | ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp index ac374aa8..77fd7241 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp @@ -121,11 +121,8 @@ void FTNoIR_Tracker::start_tracker(QFrame* frame) this, DIEDFL_ATTACHEDONLY))) { - if (guid_to_check.isEmpty()) - { - qDebug() << "enum1"; - goto fail; - } + qDebug() << "enum1"; + goto fail; } if (!g_pJoystick && guid_to_check.size()) |