Add advanced settings for configuring collection watcher

This commit is contained in:
Jonas Kvinge
2022-01-30 04:24:33 +01:00
parent 78adc388df
commit e31c9d74fa
8 changed files with 154 additions and 8 deletions

View File

@@ -23,6 +23,13 @@
#include "utilities.h"
void Thread::run() {
Utilities::SetThreadIOPriority(io_priority_);
#ifndef Q_OS_WIN32
if (io_priority_ != Utilities::IOPRIO_CLASS_NONE) {
Utilities::SetThreadIOPriority(io_priority_);
}
#endif
QThread::run();
}