Fix crash in daemon
This commit is contained in:
parent
d6de041324
commit
b50b794250
1 changed files with 2 additions and 1 deletions
|
@ -136,7 +136,8 @@ void Daemon::removeDevice(Device* device)
|
|||
|
||||
void Daemon::cleanDevices()
|
||||
{
|
||||
for (Device* device : qAsConst(d->m_devices)) {
|
||||
const auto devs = d->m_devices;
|
||||
for (Device* device : devs) {
|
||||
if (device->isTrusted()) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue