diff --git a/gui/settings.ui b/gui/settings.ui
index a3bedb927..ea1ba274d 100644
--- a/gui/settings.ui
+++ b/gui/settings.ui
@@ -103,6 +103,20 @@
+ -
+
+
+ Ideal count:
+
+
+
+ -
+
+
+ TextLabel
+
+
+
-
diff --git a/gui/settingsdialog.cpp b/gui/settingsdialog.cpp
index 23214cfb0..9cdfa30c5 100644
--- a/gui/settingsdialog.cpp
+++ b/gui/settingsdialog.cpp
@@ -26,6 +26,7 @@
#include
#include
#include
+#include
#include "settingsdialog.h"
#include "applicationdialog.h"
#include "applicationlist.h"
@@ -70,6 +71,12 @@ SettingsDialog::SettingsDialog(QSettings *programSettings,
mUI.mListWidget->setSortingEnabled(false);
PopulateListWidget();
+ const int count = QThread::idealThreadCount();
+ if (count != -1)
+ mUI.mLblIdealThreads->setText(QString::number(count));
+ else
+ mUI.mLblIdealThreads->setText(tr("N/A"));
+
LoadSettings();
}