From e096ad9ce487f59897ef5a0206868a5d28052ba6 Mon Sep 17 00:00:00 2001 From: stefonarch Date: Sat, 23 Sep 2023 16:53:46 +0200 Subject: [PATCH] Better display of memory and CPU --- plugin-sysstat/lxqtsysstatconfiguration.cpp | 54 ++++++++++----------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/plugin-sysstat/lxqtsysstatconfiguration.cpp b/plugin-sysstat/lxqtsysstatconfiguration.cpp index 5ed826eb3..f19a9be59 100644 --- a/plugin-sysstat/lxqtsysstatconfiguration.cpp +++ b/plugin-sysstat/lxqtsysstatconfiguration.cpp @@ -51,33 +51,33 @@ namespace auto t = localizationWorkaround;//avoid unused function warning void localizationWorkaround() { - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu0")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu1")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu2")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu3")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu4")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu5")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu6")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu7")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu8")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu9")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu10")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu11")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu12")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu13")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu14")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu15")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu16")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu17")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu18")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu19")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu20")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu21")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu22")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "cpu23")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "memory")); - static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "swap")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU0")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU1")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU2")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU3")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU4")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU5")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU6")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU7")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU8")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU9")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU10")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU11")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU12")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU13")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU14")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU15")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU16")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU17")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU18")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU19")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU20")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU21")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU22")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "CPU23")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "RAM")); + static_cast(QT_TRANSLATE_NOOP("LXQtSysStatConfiguration", "Swap")); static_cast(t);//avoid unused variable warning } }