Showing the changes to interface/src/scripting/TestScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -203,13 +203,9 @@ int TestScriptingInterface::getOtherAvatarsReplicaCount() { · 202 unmodified lines | |||
| 203 | QString TestScriptingInterface::getOperatingSystemType() { | 203 | QString TestScriptingInterface::getOperatingSystemType() { |
| 204 | #ifdef Q_OS_WIN | 204 | #ifdef Q_OS_WIN |
| 205 | return "WINDOWS"; | 205 | return "WINDOWS"; |
| 206 | #elif defined Q_MAC_OS | 206 | #elif defined Q_OS_MAC |
| 207 | return "MACOS"; | 207 | return "MACOS"; |
| 208 | #else | 208 | #else |
| 209 | return "UNKNOWN"; | 209 | return "UNKNOWN"; |
| 210 | #endif | 210 | #endif |
| 211 | } | 211 | } |
| 212 | |||
| 213 | void TestScriptingInterface::setWindowSize(int width, int height) { | ||
| 214 | qApp->getWindow()->resize(width, height); | ||
| 215 | } | ||