From 2527f203a61103fa2c681156f328a196f264e1f6 Mon Sep 17 00:00:00 2001 From: Wolf Bergenheim Date: Tue, 9 Nov 2010 15:43:08 +0200 Subject: only emit ResourcesBecameAvailable from advice message --- libresourceqt/src/resource-engine.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libresourceqt/src/resource-engine.cpp') 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() -- cgit v1.2.3