diff options
Diffstat (limited to 'app/taskmanager.cpp')
-rw-r--r-- | app/taskmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/taskmanager.cpp b/app/taskmanager.cpp index 97c376f..6c620a9 100644 --- a/app/taskmanager.cpp +++ b/app/taskmanager.cpp @@ -19,6 +19,7 @@ TaskManager::~TaskManager() { void TaskManager::open(const QUrl &bindingAddress) { + qRegisterMetaType<std::shared_ptr<Message>>("std::shared_ptr<Message>"); m_loop = new MessageEngine(bindingAddress); QObject::connect(m_loop, &MessageEngine::connected, this, &TaskManager::onConnected); QObject::connect(m_loop, &MessageEngine::messageReceived, this, &TaskManager::onMessageReceived, Qt::QueuedConnection); |