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
203203 QString TestScriptingInterface::getOperatingSystemType() {
204204 #ifdef Q_OS_WIN
205205 return "WINDOWS";
206−#elif defined Q_MAC_OS
206+#elif defined Q_OS_MAC
207207 return "MACOS";
208208 #else
209209 return "UNKNOWN";
210210 #endif
211211 }
212−
213−void TestScriptingInterface::setWindowSize(int width, int height) {
214− qApp->getWindow()->resize(width, height);
215−}