Show CPU brand in UI instead of arch. Resolves #110.

This commit is contained in:
Brett Williams
2025-02-28 19:54:58 -06:00
parent 562cb23da3
commit 7827f73530
3 changed files with 6 additions and 1 deletions

View File

@@ -244,7 +244,7 @@ class MainWindow(QMainWindow):
# Use the get method with defaults to avoid KeyError
os_info = f"OS: {server_info.get('system_os', 'Unknown')} {server_info.get('system_os_version', '')}"
cpu_info = f"CPU: {server_info.get('system_cpu', 'Unknown')} - {server_info.get('system_cpu_cores', 'Unknown')} cores"
cpu_info = f"CPU: {server_info.get('system_cpu_brand', 'Unknown')} ({server_info.get('system_cpu_cores', 'Unknown')} cores)"
self.server_info_os.setText(os_info.strip())
self.server_info_cpu.setText(cpu_info)