diff options
-rw-r--r-- | libresourceqt/src/resource-engine.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libresourceqt/src/resource-engine.cpp b/libresourceqt/src/resource-engine.cpp index f5951f3..20cd157 100644 --- a/libresourceqt/src/resource-engine.cpp +++ b/libresourceqt/src/resource-engine.cpp @@ -230,12 +230,7 @@ void ResourceEngine::receivedAdvice(resmsg_notify_t *message) { uint32_t allResources = allResourcesToBitmask(resourceSet); qDebug("ResourceEngine(%d) - %s: have: %02x got %02x", identifier, __FUNCTION__, allResources, message->resrc); - if(message->resrc < allResources) { - emit resourcesLost(allResources-message->resrc); - } - else { - emit resourcesBecameAvailable(message->resrc); - } + emit resourcesBecameAvailable(message->resrc); } bool ResourceEngine::connectToManager() |