diff options
author | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-11-09 15:43:08 +0200 |
---|---|---|
committer | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-11-09 15:43:08 +0200 |
commit | 2527f203a61103fa2c681156f328a196f264e1f6 (patch) | |
tree | 9cab3d265ddc5da113dae4a8deef3f2527cad860 /libresourceqt | |
parent | 19617f18db7cb9ae162719e490f1fac0be663a65 (diff) |
only emit ResourcesBecameAvailable from advice message
Diffstat (limited to 'libresourceqt')
-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() |