mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Add Thread Count in progress bar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5150 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -180,7 +180,7 @@ void ElementsCollectionWidget::setUpWidget()
|
||||
|
||||
//Setup the progress bar
|
||||
m_progress_bar = new QProgressBar(this);
|
||||
m_progress_bar->setFormat(tr("Chargement") + " %p%");
|
||||
m_progress_bar->setFormat(tr("Chargement") + " %p%" + QString("Progressing using %1 thread(s)...").arg(QThread::idealThreadCount()));
|
||||
m_main_vlayout->addWidget(m_progress_bar);
|
||||
m_progress_bar->hide();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user