Showing the changes to interface/src/scripting/RenderScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -9,6 +9,7 @@ · 8 unmodified lines | ||
| 9 | 9 | |
| 10 | 10 | #include "LightingModel.h" |
| 11 | 11 | #include <QScreen> |
| 12 | +#include "ScreenName.h" | |
| 12 | 13 | |
| 13 | 14 | |
| 14 | 15 | RenderScriptingInterface* RenderScriptingInterface::getInstance() { |
| @@ -24,6 +25,7 @@ RenderScriptingInterface::RenderScriptingInterface() { · 9 unmodified lines | ||
| 24 | 25 | }); |
| 25 | 26 | } |
| 26 | 27 | |
| 28 | + | |
| 27 | 29 | void RenderScriptingInterface::loadSettings() { |
| 28 | 30 | _renderSettingLock.withReadLock([&] { |
| 29 | 31 | _renderMethod = (_renderMethodSetting.get()); |
| @@ -208,7 +210,7 @@ QStringList RenderScriptingInterface::getScreens() const { · 178 unmodified lines | ||
| 208 | 210 | QStringList screens; |
| 209 | 211 | |
| 210 | 212 | for(QScreen *screen : qApp->screens()) { |
| 211 | − screens << getNameForScreen(screen); | |
| 213 | + screens << ScreenName::getNameForScreen(screen); | |
| 212 | 214 | } |
| 213 | 215 | |
| 214 | 216 | return screens; |