summaryrefslogtreecommitdiff
path: root/resourceqt-client
diff options
context:
space:
mode:
authorVsevolod Buzinov <ext-vsevolod.buzinov@nokia.com>2010-06-10 10:45:18 +0300
committerVsevolod Buzinov <ext-vsevolod.buzinov@nokia.com>2010-06-10 10:45:18 +0300
commit705b4c51fb64e0f0290332d3a3413c2a6b82ac05 (patch)
tree5bd9bcdf1b5a19859953e5b50c6f6622dd3364d0 /resourceqt-client
parent6a6d3799cb686d5cc91c79e281fb8b0ba436fe0c (diff)
parent3cbcb1b12a5280f95e0b887aad37a695927f7ac7 (diff)
Merge branch 'master' of ssh://karma.research.nokia.com/u/repositories/libresourceqt
Diffstat (limited to 'resourceqt-client')
-rw-r--r--resourceqt-client/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/resourceqt-client/client.cpp b/resourceqt-client/client.cpp
index c7e97f6..46fd8c9 100644
--- a/resourceqt-client/client.cpp
+++ b/resourceqt-client/client.cpp
@@ -101,7 +101,7 @@ void Client::updateSet(uint32_t list, uint32_t optional, bool remove)
int pos = 0;
while (resources[pos]) {
- if (list & resources[pos]) {
+ if ((list & resources[pos]) == resources[pos]) {
Resource* resource = NULL;
ResourceType res = getResourceType(resources[pos]);
bool opt = (optional & resources[pos]) == resources[pos];