Showing the changes to interface/src/scripting/PerformanceScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -16,6 +16,8 @@ std::once_flag PerformanceScriptingInterface::registry_flag; · 15 unmodified lines | ||
| 16 | 16 | PerformanceScriptingInterface::PerformanceScriptingInterface() { |
| 17 | 17 | std::call_once(registry_flag, [] { |
| 18 | 18 | qmlRegisterType<PerformanceScriptingInterface>("PerformanceEnums", 1, 0, "PerformanceEnums"); |
| 19 | + qRegisterMetaType<PerformanceScriptingInterface::PerformancePreset>("PerformanceScriptingInterface::PerformancePreset"); | |
| 20 | + qRegisterMetaType<PerformanceScriptingInterface::RefreshRateProfile>("PerformanceScriptingInterface::RefreshRateProfile"); | |
| 19 | 21 | }); |
| 20 | 22 | } |
| 21 | 23 | |