diff options
-rw-r--r-- | dinput/keybinding-worker.cpp | 2 | ||||
-rw-r--r-- | logic/tracker.h | 2 | ||||
-rw-r--r-- | pose-widget/pose-widget.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dinput/keybinding-worker.cpp b/dinput/keybinding-worker.cpp index 042f01a5..dbe3d75e 100644 --- a/dinput/keybinding-worker.cpp +++ b/dinput/keybinding-worker.cpp @@ -77,7 +77,7 @@ bool KeybindingWorker::init() KeybindingWorker::KeybindingWorker() : dinkeyboard(nullptr), din(dinput_handle::make_di()) { if (init()) - start(); + start(QThread::HighPriority); } KeybindingWorker& KeybindingWorker::make() diff --git a/logic/tracker.h b/logic/tracker.h index b1ed4042..282b5c5b 100644 --- a/logic/tracker.h +++ b/logic/tracker.h @@ -104,7 +104,7 @@ public: ~Tracker(); void raw_and_mapped_pose(double* mapped, double* raw) const; - void start() { QThread::start(); } + void start() { QThread::start(QThread::HighPriority); } void center(); void set_toggle(bool value); diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp index c6cda293..e9d5b05e 100644 --- a/pose-widget/pose-widget.cpp +++ b/pose-widget/pose-widget.cpp @@ -50,7 +50,7 @@ void pose_widget::paintEvent(QPaintEvent* event) }); if (!xform.isRunning()) - xform.start(); + xform.start(QThread::LowPriority); } void pose_transform::run() |