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