summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-30 04:40:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-30 04:40:06 +0100
commit64250f9bb6f5d95f14a8d7f3329d018679710540 (patch)
tree878cab73aa45dea75d05fdf95f2e2c72091a7393 /tracker-steamvr/dialog.cpp
parente712a6eea96d381d2f1e3c0f8328d870321b31de (diff)
tracker/steamvr: broken, but we already know the right rotation order
Diffstat (limited to 'tracker-steamvr/dialog.cpp')
-rw-r--r--tracker-steamvr/dialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tracker-steamvr/dialog.cpp b/tracker-steamvr/dialog.cpp
index bbb8866d..1bfa5bcb 100644
--- a/tracker-steamvr/dialog.cpp
+++ b/tracker-steamvr/dialog.cpp
@@ -7,6 +7,11 @@ steamvr_dialog::steamvr_dialog()
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
+
+ for (unsigned i = 0; i < 6; i++)
+ ui.rotation_order->addItem(QStringLiteral("order #%1").arg(i));
+
+ tie_setting(s.order, ui.rotation_order);
}
void steamvr_dialog::doOK()