History

cleaning up case of enum names and aligning the PerformancePreset with the PlatformTier

Sam Gateau committed 7 years ago

Commit 4e2480d1 parent 916ff315 files · +20 −14Browse files

Showing the changes to interface/src/scripting/PerformanceScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

interface/src/scripting/PerformanceScriptingInterface.cpp+2−2
@@ -28,7 +28,7 @@ PerformanceScriptingInterface::PerformancePreset PerformanceScriptingInterface:: · 27 unmodified lines
28}28}
29 29
30QStringList PerformanceScriptingInterface::getPerformancePresetNames() const {30QStringList PerformanceScriptingInterface::getPerformancePresetNames() const {
31 static const QStringList performancePresetNames = { "Unknown", "Low", "Mid", "High" };31 static const QStringList performancePresetNames = { "UNKNOWN", "LOW", "MID", "HIGH" };
32 return performancePresetNames;32 return performancePresetNames;
33}33}
34 34
@@ -41,7 +41,7 @@ PerformanceScriptingInterface::RefreshRateProfile PerformanceScriptingInterface: · 6 unmodified lines
41}41}
42 42
43QStringList PerformanceScriptingInterface::getRefreshRateProfileNames() const {43QStringList PerformanceScriptingInterface::getRefreshRateProfileNames() const {
44 static const QStringList refreshRateProfileNames = { "Eco", "Interactive", "Realtime" };44 static const QStringList refreshRateProfileNames = { "ECO", "INTERACTIVE", "REALTIME" };
45 return refreshRateProfileNames;45 return refreshRateProfileNames;
46}46}
47 47