From f93b584f1305fc7668e589c5efc2b9c60618153b Mon Sep 17 00:00:00 2001 From: Raquel Medina Date: Fri, 6 Mar 2020 15:55:17 +0100 Subject: avoid use of MessageType 'MessageType' is considered deprecated and will be removed from libqtappfw shortly. This change is applied ahead of libqtappfw changes to avoid breaking the build. Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina Change-Id: Ic081b56426f3dffb734aa7ec95f9ffd15e7be38c --- app/taskmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/taskmanager.cpp b/app/taskmanager.cpp index fb81098..d52ecd8 100644 --- a/app/taskmanager.cpp +++ b/app/taskmanager.cpp @@ -62,7 +62,7 @@ void TaskManager::callService(const QString& command, QJsonValue value) { void TaskManager::onMessageReceived(MessageType type, Message *message) { - if (type == ResponseRequestMessage) + if (message->isReply()) ProcessResponse(message); } -- cgit 1.2.3-korg