Fix hardware resource enable
This commit is contained in:
parent
3e959b3bce
commit
3b19f2317a
@ -150,7 +150,7 @@ bool HardwareManager::enableHardwareReource(const HardwareResource::Type &hardwa
|
||||
{
|
||||
foreach (HardwareResource *resource, m_hardwareResources) {
|
||||
if (resource->hardwareReourceType() == hardwareResourceType) {
|
||||
return resource->enabled();
|
||||
return resource->enable();
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user