summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-30 13:52:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-06 04:29:47 +0200
commit61e861de7a6a6d39f75c79b93140f2db0768d183 (patch)
treeef8822dd4d9b24fbe8ffe350412247b4a8bf1b17 /tracker-steamvr/dialog.cpp
parentf9160866df2a045146910ab555af718cde676694 (diff)
tracker/steamvr: support choosing device by its serial number
Since the vr handle is accessed on the GUI and pipeline threads now, had to add implicit locking. This sadly reorganizes most of the file. Sadly this refactor likely broke things. cf. https://github.com/opentrack/opentrack/issues/352#issuecomment-290252520
Diffstat (limited to 'tracker-steamvr/dialog.cpp')
-rw-r--r--tracker-steamvr/dialog.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/tracker-steamvr/dialog.cpp b/tracker-steamvr/dialog.cpp
deleted file mode 100644
index bbb8866d..00000000
--- a/tracker-steamvr/dialog.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-#include "steamvr.hpp"
-#include "api/plugin-api.hpp"
-
-steamvr_dialog::steamvr_dialog()
-{
- ui.setupUi(this);
-
- connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
- connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
-}
-
-void steamvr_dialog::doOK()
-{
- s.b->save();
- close();
-}
-
-void steamvr_dialog::doCancel()
-{
- close();
-}
-