diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 65c105e..5da98c9 100755 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1521,9 +1521,11 @@ void MainWindow::setupMiningTab() { auto combo = new QComboBox(tab); combo->setObjectName("genproclimit"); + auto threadStr = tr("thread"); + auto threadsStr = tr("threads"); // give options from 1 to hwc/2 , which should represent physical CPUs for(int i=0; i < hwc/2; i++) { - combo->insertItem(i, QString::number(i+1)); + combo->insertItem(i, QString::number(i+1) % " " % (i+1==1 ? threadStr : threadsStr)); } QFont font;