From bc5f7885f33854441e4cdd977b3411f9d458bf75 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 16 Feb 2014 11:41:12 -0600 Subject: Fix unintended renaming --- src/configuredialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/configuredialog.cpp') diff --git a/src/configuredialog.cpp b/src/configuredialog.cpp index 6932fc5..d4902b1 100644 --- a/src/configuredialog.cpp +++ b/src/configuredialog.cpp @@ -1785,13 +1785,13 @@ TQString ConfigureDialog::mapActionToDescription( TQString action ) { } else if (action.startsWith("SUSPEND2RAM")) { if (actions.contains("Suspend to RAM")) ret = i18n("Suspend to RAM"); - } else if (action.startsWith("CPUFRETQ_POWERSAVE")) { + } else if (action.startsWith("CPUFREQ_POWERSAVE")) { if (hwinfo->supportCPUFreq()) ret = i18n("CPU Powersave policy"); - } else if (action.startsWith("CPUFRETQ_DYNAMIC")) { + } else if (action.startsWith("CPUFREQ_DYNAMIC")) { if (hwinfo->supportCPUFreq()) ret = i18n("CPU Dynamic policy"); - } else if (action.startsWith("CPUFRETQ_PERFORMANCE")) { + } else if (action.startsWith("CPUFREQ_PERFORMANCE")) { if (hwinfo->supportCPUFreq()) ret = i18n("CPU Performance policy"); } else if (action.startsWith("BRIGHTNESS")) { @@ -1826,13 +1826,13 @@ TQString ConfigureDialog::mapDescriptionToAction( TQString description ) { ret = "SUSPEND2RAM"; } else if (description.startsWith("CPU Powersave policy") || description.startsWith(i18n("CPU Powersave policy"))) { - ret = "CPUFRETQ_POWERSAVE"; + ret = "CPUFREQ_POWERSAVE"; } else if (description.startsWith("CPU Dynamic policy") || description.startsWith(i18n("CPU Dynamic policy"))) { - ret = "CPUFRETQ_DYNAMIC"; + ret = "CPUFREQ_DYNAMIC"; } else if (description.startsWith("CPU Performance policy") || description.startsWith(i18n("CPU Performance policy"))) { - ret = "CPUFRETQ_PERFORMANCE"; + ret = "CPUFREQ_PERFORMANCE"; } else if (description.startsWith("Set Brightness to") || description.startsWith(i18n("Set Brightness to"))) { ret = "BRIGHTNESS"; -- cgit v1.2.1