mirror of
https://github.com/ysoftdevs/Testa.git
synced 2026-11-13 13:43:28 +01:00
Fixed warnings during compilation
This commit is contained in:
1 parent
7ec51f7da7
commit
5d800be890
2 files changed
+4
-3
No files matched your search
@@ -5,8 +5,8 @@
|
||||
|
||||
ApplicationController::ApplicationController(WebEngineView* webEngineView, QObject *parent) :
|
||||
QObject(parent),
|
||||
webEngineView(webEngineView),
|
||||
webSocket(new QWebSocket())
|
||||
webSocket(new QWebSocket()),
|
||||
webEngineView(webEngineView)
|
||||
{
|
||||
connect(webSocket, &QWebSocket::connected, this, &ApplicationController::connected);
|
||||
connect(webSocket, &QWebSocket::textMessageReceived, this, &ApplicationController::messageReceived);
|
||||
@@ -45,6 +45,7 @@ void ApplicationController::messageReceived(const QString &message)
|
||||
}
|
||||
void ApplicationController::error(QAbstractSocket::SocketError error)
|
||||
{
|
||||
Q_UNUSED(error);
|
||||
qDebug() << webSocket->errorString();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user