From 5bec8c5045c0247f1b4e06b4e159285b110a5b57 Mon Sep 17 00:00:00 2001 From: Loïc Collignon Date: Mon, 2 Jul 2018 17:07:51 +0200 Subject: Rename method to avoid conflict with Qt's one MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each QtObject define an 'event' method, which can conflict with the 'event' method to handle events in an Application Framework meaning. Change-Id: I0fad844bfaa8fbfc2d14cc15b1f346b6f739a643 Signed-off-by: Loïc Collignon --- qafbwebsocketclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qafbwebsocketclient.cpp') diff --git a/qafbwebsocketclient.cpp b/qafbwebsocketclient.cpp index c4eb8ae..f0f3dce 100644 --- a/qafbwebsocketclient.cpp +++ b/qafbwebsocketclient.cpp @@ -167,7 +167,7 @@ void QAfbWebsocketClient::onSocketTextReceived(QString msg) break; } case 5: // Events - emit event(arr[1].toString(), arr[2].toObject()["data"]); + emit eventReceived(arr[1].toString(), arr[2].toObject()["data"]); break; } } -- cgit 1.2.3-korg