summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2016-11-18 15:02:30 +0100
committerAleix Pol <[email protected]>2016-11-18 15:02:30 +0100
commit6577bcb594eb1139434cb55d2ccba854f00613d8 (patch)
tree0489ef902fa447064023d256d8e97d338833a32c
parent0cf554cd5c7b70af7ccdd4c6a853d51fed81dc00 (diff)
Forward passiveNotifications from backends to the resourcesmodel
-rw-r--r--libdiscover/resources/ResourcesModel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiscover/resources/ResourcesModel.cpp b/libdiscover/resources/ResourcesModel.cpp
index 915e138..fc20f4a 100644
--- a/libdiscover/resources/ResourcesModel.cpp
+++ b/libdiscover/resources/ResourcesModel.cpp
@@ -100,6 +100,7 @@ void ResourcesModel::addResourcesBackend(AbstractResourcesBackend* backend)
connect(backend, &AbstractResourcesBackend::updatesCountChanged, this, &ResourcesModel::updatesCountChanged);
connect(backend, &AbstractResourcesBackend::searchInvalidated, this, &ResourcesModel::searchInvalidated);
connect(backend, &AbstractResourcesBackend::resourceRemoved, this, &ResourcesModel::resourceRemoved);
+ connect(backend, &AbstractResourcesBackend::passiveMessage, this, &ResourcesModel::passiveMessage);
emit backendsChanged();