[qet] qet/qet: [5150] Add Thread Count in progress bar

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5150
Author:   scorpio810
Date:     2017-12-09 00:01:48 +0100 (Sat, 09 Dec 2017)
Log Message:
-----------
Add Thread Count in progress bar

Modified Paths:
--------------
    trunk/sources/ElementsCollection/elementscollectionwidget.cpp

Modified: trunk/sources/ElementsCollection/elementscollectionwidget.cpp
===================================================================
--- trunk/sources/ElementsCollection/elementscollectionwidget.cpp	2017-12-07 14:41:07 UTC (rev 5149)
+++ trunk/sources/ElementsCollection/elementscollectionwidget.cpp	2017-12-08 23:01:48 UTC (rev 5150)
@@ -180,7 +180,7 @@
 
 		//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();
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/