[libcalamaresui] Avoid Qt warning
16:23:24 [2]: WARNING (Qt): QThread::setPriority: Cannot set priority, thread is not running Start the log widget's thread with a specific priority. This is ignored on Linux anyway, but we'll avoid the setPriority() warning.
This commit is contained in:
parent
918e3c83e6
commit
14e9da251a
@ -83,8 +83,7 @@ LogWidget::LogWidget( QWidget* parent )
|
||||
|
||||
connect( &m_log_thread, &LogThread::onLogChunk, this, &LogWidget::handleLogChunk );
|
||||
|
||||
m_log_thread.setPriority( QThread::LowestPriority );
|
||||
m_log_thread.start();
|
||||
m_log_thread.start( QThread::LowestPriority );
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user