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
2828 }
2929
3030 QStringList PerformanceScriptingInterface::getPerformancePresetNames() const {
31− static const QStringList performancePresetNames = { "Unknown", "Low", "Mid", "High" };
31+ static const QStringList performancePresetNames = { "UNKNOWN", "LOW", "MID", "HIGH" };
3232 return performancePresetNames;
3333 }
3434
@@ -41,7 +41,7 @@ PerformanceScriptingInterface::RefreshRateProfile PerformanceScriptingInterface: · 6 unmodified lines
4141 }
4242
4343 QStringList PerformanceScriptingInterface::getRefreshRateProfileNames() const {
44− static const QStringList refreshRateProfileNames = { "Eco", "Interactive", "Realtime" };
44+ static const QStringList refreshRateProfileNames = { "ECO", "INTERACTIVE", "REALTIME" };
4545 return refreshRateProfileNames;
4646 }
4747