History

Added `setWindowSize` - FOR TESTING ON MAC

NissimHadar committed 8 years ago

Commit c7353e61 parent 58bac432 files · +11 −0Browse files

Showing the changes to interface/src/scripting/TestScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

interface/src/scripting/TestScriptingInterface.cpp+4−0
@@ -209,3 +209,7 @@ QString TestScriptingInterface::getOperatingSystemType() { · 208 unmodified lines
209209 return "UNKNOWN";
210210 #endif
211211 }
212+
213+void TestScriptingInterface::setWindowSize(int width, int height) {
214+ qApp->getWindow()->resize(width, height);
215+}