small fixes
parent
313d562a30
commit
3a40115214
|
|
@ -178,8 +178,7 @@ void DevicePluginSonos::confirmPairing(DevicePairingInfo *info, const QString &u
|
|||
return;
|
||||
}
|
||||
sonos->getAccessTokenFromAuthorizationCode(authorizationCode);
|
||||
connect(sonos, &Sonos::authenticationStatusChanged, info, [this, info](bool authenticated){
|
||||
Sonos *sonos = static_cast<Sonos *>(sender());
|
||||
connect(sonos, &Sonos::authenticationStatusChanged, info, [this, info, sonos](bool authenticated){
|
||||
if(!authenticated) {
|
||||
qWarning(dcSonos()) << "Authentication process failed" << info->deviceName();
|
||||
m_setupSonosConnections.remove(info->deviceId());
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
"id": "30a60752-d06f-4ec9-a4e1-9810a5d22fa3",
|
||||
"name": "sonos",
|
||||
"displayName": "Sono",
|
||||
"displayName": "Sonos",
|
||||
"deviceClasses": [
|
||||
{
|
||||
"id": "22df416d-7732-44f1-b6b9-e41296211178",
|
||||
|
|
|
|||
Loading…
Reference in New Issue