diff options
Diffstat (limited to 'tracker-steamvr')
-rw-r--r-- | tracker-steamvr/steamvr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp index b60d4896..e5585541 100644 --- a/tracker-steamvr/steamvr.cpp +++ b/tracker-steamvr/steamvr.cpp @@ -187,6 +187,7 @@ void steamvr::start_tracker(QFrame*) QMessageBox::warning(nullptr, tr("Valve SteamVR init error"), strerror(e), QMessageBox::Close, QMessageBox::NoButton); + return; } const QString serial = s.device_serial; @@ -200,6 +201,7 @@ void steamvr::start_tracker(QFrame*) tr("Valve SteamVR init error"), tr("No HMD connected"), QMessageBox::Close, QMessageBox::NoButton); + return; } for (const device_spec& spec : specs) |