[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:
Adriaan de Groot 2024-02-17 16:49:26 +01:00
parent 918e3c83e6
commit 14e9da251a

View File

@ -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