mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
whoops
This commit is contained in:
parent
5daccba235
commit
545dda0a98
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ void UserInputMapper::removeDevice(int deviceID) {
|
||||||
auto device = proxyEntry->second;
|
auto device = proxyEntry->second;
|
||||||
qCDebug(controllers) << "Unregistering input device <" << device->getName() << "> deviceID = " << deviceID;
|
qCDebug(controllers) << "Unregistering input device <" << device->getName() << "> deviceID = " << deviceID;
|
||||||
|
|
||||||
if (!_deviceCounts.contains(device->getName())) {
|
if (_deviceCounts.contains(device->getName())) {
|
||||||
_deviceCounts[device->getName()] -= 1;
|
_deviceCounts[device->getName()] -= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue