Possibly fix crash on device disconnect.
This commit is contained in:
parent
de2eb79d3c
commit
ad5c51f3d5
@ -460,8 +460,8 @@ void DeviceManager::Disconnect(int row) {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
info.device_.reset();
|
info.device_.reset();
|
||||||
emit dataChanged(index(row), index(row));
|
|
||||||
emit DeviceDisconnected(row);
|
emit DeviceDisconnected(row);
|
||||||
|
emit dataChanged(index(row), index(row));
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeviceManager::Forget(int row) {
|
void DeviceManager::Forget(int row) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user