Commit df1770ff authored by Roberto Raggi's avatar Roberto Raggi

Use LowestPriority instead of IdlePriority.

parent 480ae95c
......@@ -62,7 +62,7 @@ public:
this->setRunnable(this);
this->reportStarted();
Future future = this->future();
QThreadPool::globalInstance()->start(this, QThread::IdlePriority);
QThreadPool::globalInstance()->start(this, QThread::LowestPriority);
return future;
}
......
......@@ -2041,7 +2041,7 @@ bool SemanticHighlighter::isOutdated()
void SemanticHighlighter::run()
{
setPriority(QThread::IdlePriority);
setPriority(QThread::LowestPriority);
forever {
m_mutex.lock();
......
......@@ -1802,7 +1802,7 @@ bool SemanticHighlighter::isOutdated()
void SemanticHighlighter::run()
{
setPriority(QThread::IdlePriority);
setPriority(QThread::LowestPriority);
forever {
m_mutex.lock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment