diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2018-07-02 17:07:51 +0200 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2018-07-02 17:07:51 +0200 |
commit | 5bec8c5045c0247f1b4e06b4e159285b110a5b57 (patch) | |
tree | d7311aed2241820db57fc552e03de6307c78c87b /qafbwebsocketclient.cpp | |
parent | 43ec9716bf83d8a6e5ff15909705cb1adc3c1892 (diff) |
Rename method to avoid conflict with Qt's one
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 <loic.collignon@iot.bzh>
Diffstat (limited to 'qafbwebsocketclient.cpp')
-rw-r--r-- | qafbwebsocketclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |