aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}