History

Removed `setWindowSize` - crashes on both Windows and Mac. Fixed typo.

NissimHadar committed 8 years ago

Commit 70c0add1 parent c7353e62 files · +1 −11Browse files

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

Unified · Split

interface/src/scripting/TestScriptingInterface.cpp+1−5
@@ -203,13 +203,9 @@ int TestScriptingInterface::getOtherAvatarsReplicaCount() { · 202 unmodified lines
203QString TestScriptingInterface::getOperatingSystemType() {203QString TestScriptingInterface::getOperatingSystemType() {
204#ifdef Q_OS_WIN204#ifdef Q_OS_WIN
205 return "WINDOWS";205 return "WINDOWS";
206#elif defined Q_MAC_OS206#elif defined Q_OS_MAC
207 return "MACOS";207 return "MACOS";
208#else208#else
209 return "UNKNOWN";209 return "UNKNOWN";
210#endif210#endif
211}211}
212
213void TestScriptingInterface::setWindowSize(int width, int height) {
214 qApp->getWindow()->resize(width, height);
215}