summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaquel Medina <raquel.medina@konsulko.com>2020-03-06 15:55:17 +0100
committerRaquel Medina <raquel.medina@konsulko.com>2020-03-06 18:11:53 +0100
commitf93b584f1305fc7668e589c5efc2b9c60618153b (patch)
tree70493a398b9c50cf74e1905609ad73785c2dc26c
parent6f5af2a2351461e80944b6368d6e66029f1a33e7 (diff)
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 <raquel.medina@konsulko.com> Change-Id: Ic081b56426f3dffb734aa7ec95f9ffd15e7be38c
-rw-r--r--app/taskmanager.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}