mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:36:38 +02:00
fix. switchup.
This commit is contained in:
parent
1b6538cc59
commit
7f8506acc0
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ void WebSocketClass::initialize() {
|
||||||
_binaryType = "blob";
|
_binaryType = "blob";
|
||||||
}
|
}
|
||||||
|
|
||||||
QScriptValue constructor(QScriptContext* context, QScriptEngine* engine) {
|
QScriptValue WebSocketClass::constructor(QScriptContext* context, QScriptEngine* engine) {
|
||||||
QString url;
|
QString url;
|
||||||
QScriptValue callee = context->callee();
|
QScriptValue callee = context->callee();
|
||||||
if (context->argumentCount() == 1) {
|
if (context->argumentCount() == 1) {
|
||||||
|
|
|
@ -41,7 +41,7 @@ public:
|
||||||
WebSocketClass(QScriptEngine* engine, QWebSocket* qWebSocket);
|
WebSocketClass(QScriptEngine* engine, QWebSocket* qWebSocket);
|
||||||
~WebSocketClass();
|
~WebSocketClass();
|
||||||
|
|
||||||
static QScriptValue WebSocketClass::constructor(QScriptContext* context, QScriptEngine* engine);
|
static QScriptValue constructor(QScriptContext* context, QScriptEngine* engine);
|
||||||
|
|
||||||
enum ReadyState {
|
enum ReadyState {
|
||||||
CONNECTING = 0,
|
CONNECTING = 0,
|
||||||
|
|
Loading…
Reference in a new issue