diff options
Diffstat (limited to 'src/plugins/resourcepolicy')
-rw-r--r-- | src/plugins/resourcepolicy/resourcepolicyint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourcepolicy/resourcepolicyint.cpp b/src/plugins/resourcepolicy/resourcepolicyint.cpp index a0086a4da..6118d2df0 100644 --- a/src/plugins/resourcepolicy/resourcepolicyint.cpp +++ b/src/plugins/resourcepolicy/resourcepolicyint.cpp @@ -323,7 +323,7 @@ void ResourcePolicyInt::handleResourcesReleased() m_acquired = 0; QMap<const ResourcePolicyImpl*, clientEntry>::iterator i = m_clients.begin(); while (i != m_clients.end()) { - if (i.value().status == GrantedResource) { + if (i.value().status != Initial) { #ifdef RESOURCE_DEBUG qDebug() << "##### " << i.value().id << ": HANDLE RELEASED, acquired (" << m_acquired << ") emitting resourcesReleased()"; #endif |