History

Addressing the initialization bug not applying REnderMethod properly, Adjusting RefrehRateProfile to Realtime in High performancePreset

Sam Gateau committed 7 years ago

Commit 2a4d0cf1 parent db04f6116 files · +228 −133Browse files

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

Unified · Split

interface/src/scripting/PerformanceScriptingInterface.cpp+2−0
@@ -21,6 +21,7 @@ PerformanceScriptingInterface::PerformanceScriptingInterface() { · 20 unmodified lines
2121
2222 void PerformanceScriptingInterface::setPerformancePreset(PerformancePreset performancePreset) {
2323 qApp->getPerformanceManager().setPerformancePreset((PerformanceManager::PerformancePreset)performancePreset);
24+ emit settingsChanged();
2425 }
2526
2627 PerformanceScriptingInterface::PerformancePreset PerformanceScriptingInterface::getPerformancePreset() const {
@@ -34,6 +35,7 @@ QStringList PerformanceScriptingInterface::getPerformancePresetNames() const { · 7 unmodified lines
3435
3536 void PerformanceScriptingInterface::setRefreshRateProfile(RefreshRateProfile refreshRateProfile) {
3637 qApp->getRefreshRateManager().setRefreshRateProfile((RefreshRateManager::RefreshRateProfile)refreshRateProfile);
38+ emit settingsChanged();
3739 }
3840
3941 PerformanceScriptingInterface::RefreshRateProfile PerformanceScriptingInterface::getRefreshRateProfile() const {