mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 20:34:39 +01:00
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;
|
||||
|
||||
info.device_.reset();
|
||||
emit dataChanged(index(row), index(row));
|
||||
emit DeviceDisconnected(row);
|
||||
emit dataChanged(index(row), index(row));
|
||||
}
|
||||
|
||||
void DeviceManager::Forget(int row) {
|
||||
|
Loading…
Reference in New Issue
Block a user