mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
fix for official pc
add no proxy to websocket
This commit is contained in:
@@ -20,6 +20,7 @@ Web_socket_wrapper::Web_socket_wrapper(const QUrl &url, QObject *parent)
|
|||||||
connect(m_pong_timer, &QTimer::timeout, this, &Web_socket_wrapper::m_on_pong_timeout);
|
connect(m_pong_timer, &QTimer::timeout, this, &Web_socket_wrapper::m_on_pong_timeout);
|
||||||
m_ping_timer->setSingleShot(true);
|
m_ping_timer->setSingleShot(true);
|
||||||
m_pong_timer->setSingleShot(true);
|
m_pong_timer->setSingleShot(true);
|
||||||
|
m_web_socket->setProxy(QNetworkProxy::NoProxy);
|
||||||
m_web_socket->open(url);
|
m_web_socket->open(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user