eric7/Preferences/ConfigurationPages/ApplicationPage.py

branch
eric7
changeset 9170
46523f488d07
parent 8994
3bebd76dc6ea
--- a/eric7/Preferences/ConfigurationPages/ApplicationPage.py	Wed Jun 22 17:53:08 2022 +0200
+++ b/eric7/Preferences/ConfigurationPages/ApplicationPage.py	Wed Jun 22 19:48:10 2022 +0200
@@ -7,6 +7,8 @@
 Module implementing the Application configuration page.
 """
 
+import multiprocessing
+
 from .ConfigurationPageBase import ConfigurationPageBase
 from .Ui_ApplicationPage import Ui_ApplicationPage
 
@@ -27,12 +29,13 @@
         self.setObjectName("ApplicationPage")
         
         self.backgroundServicesLabel.setText(self.tr(
-            "eric is using background services for certain things like"
+            "<p>eric is using background services for certain things like"
             " syntax checks or code style checks. Per default the number"
             " of processes to use for these checks is determined"
             " automatically based on the number of CPUs. Please note, that"
-            " this is an advanced setting."
-        ))
+            " this is an advanced setting.</p>"
+            "<p>Available CPUs: <b>{0}</b></p>"
+        ).format(multiprocessing.cpu_count()))
         
         self.msgSeverityComboBox.addItem(self.tr("Debug"), 0)
         self.msgSeverityComboBox.addItem(self.tr("Warning"), 1)

eric ide

mercurial