Showing the changes to interface/src/scripting/TestScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -209,3 +209,7 @@ QString TestScriptingInterface::getOperatingSystemType() { · 208 unmodified lines | ||
| 209 | 209 | return "UNKNOWN"; |
| 210 | 210 | #endif |
| 211 | 211 | } |
| 212 | + | |
| 213 | +void TestScriptingInterface::setWindowSize(int width, int height) { | |
| 214 | + qApp->getWindow()->resize(width, height); | |
| 215 | +} | |