mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Removed setWindowSize
- crashes on both Windows and Mac.
Fixed typo.
This commit is contained in:
parent
c7353e6c59
commit
70c0addc3f
2 changed files with 1 additions and 11 deletions
|
@ -203,13 +203,9 @@ int TestScriptingInterface::getOtherAvatarsReplicaCount() {
|
|||
QString TestScriptingInterface::getOperatingSystemType() {
|
||||
#ifdef Q_OS_WIN
|
||||
return "WINDOWS";
|
||||
#elif defined Q_MAC_OS
|
||||
#elif defined Q_OS_MAC
|
||||
return "MACOS";
|
||||
#else
|
||||
return "UNKNOWN";
|
||||
#endif
|
||||
}
|
||||
|
||||
void TestScriptingInterface::setWindowSize(int width, int height) {
|
||||
qApp->getWindow()->resize(width, height);
|
||||
}
|
|
@ -170,12 +170,6 @@ public slots:
|
|||
*/
|
||||
QString getOperatingSystemType();
|
||||
|
||||
/**jsdoc
|
||||
* Sets the size of the Window on desktop
|
||||
* @function Test.getOperatingSystemType
|
||||
*/
|
||||
void setWindowSize(int width, int height);
|
||||
|
||||
private:
|
||||
bool waitForCondition(qint64 maxWaitMs, std::function<bool()> condition);
|
||||
QString _testResultsLocation;
|
||||
|
|
Loading…
Reference in a new issue