Fix some maybe-uninitialized build errors
parent
6e943bf768
commit
e8789c3c58
|
|
@ -139,7 +139,7 @@ struct ContentItemObject {
|
||||||
QString source; //Attribute. The type or name of the service playing. To determine if the product is in standby mode, check if source == STANDBY.
|
QString source; //Attribute. The type or name of the service playing. To determine if the product is in standby mode, check if source == STANDBY.
|
||||||
QString location; //Attribute. READ-ONLY. This attribute is used by Bose to point to the content the user is accessing. You can save it to access content later, but do not attempt to generate your own locations.
|
QString location; //Attribute. READ-ONLY. This attribute is used by Bose to point to the content the user is accessing. You can save it to access content later, but do not attempt to generate your own locations.
|
||||||
QString sourceAccount; //Attribute. The user-account associated with this source.
|
QString sourceAccount; //Attribute. The user-account associated with this source.
|
||||||
bool isPresetable; //Attribute. TRUE if the source can be set as one of the six (6) SoundTouch presets.
|
bool isPresetable = false; //Attribute. TRUE if the source can be set as one of the six (6) SoundTouch presets.
|
||||||
QString itemName; //Element. The album, station, playlist, song, phone, etc. name depending on the source.
|
QString itemName; //Element. The album, station, playlist, song, phone, etc. name depending on the source.
|
||||||
QString containerArt; //URL
|
QString containerArt; //URL
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,6 @@ void IntegrationPluginSonos::confirmPairing(ThingPairingInfo *info, const QStrin
|
||||||
if (!sonos) {
|
if (!sonos) {
|
||||||
qWarning(dcSonos()) << "No sonos connection found for thing:" << info->thingName();
|
qWarning(dcSonos()) << "No sonos connection found for thing:" << info->thingName();
|
||||||
m_setupSonosConnections.remove(info->thingId());
|
m_setupSonosConnections.remove(info->thingId());
|
||||||
sonos->deleteLater();
|
|
||||||
info->finish(Thing::ThingErrorHardwareFailure);
|
info->finish(Thing::ThingErrorHardwareFailure);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
22
tado/tado.h
22
tado/tado.h
|
|
@ -67,20 +67,20 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ZoneState {
|
struct ZoneState {
|
||||||
bool connected;
|
bool connected = false;
|
||||||
bool power;
|
bool power = false;
|
||||||
QString tadoMode;
|
QString tadoMode;
|
||||||
QString settingType;
|
QString settingType;
|
||||||
double settingTemperature;
|
double settingTemperature = false;
|
||||||
bool settingPower;
|
bool settingPower = false;
|
||||||
double temperature;
|
double temperature = false;
|
||||||
double humidity;
|
double humidity = false;
|
||||||
bool windowOpen;
|
bool windowOpen = false;
|
||||||
double heatingPowerPercentage;
|
double heatingPowerPercentage = false;
|
||||||
QString heatingPowerType;
|
QString heatingPowerType;
|
||||||
bool overlayIsSet;
|
bool overlayIsSet = false;
|
||||||
bool overlaySettingPower;
|
bool overlaySettingPower = false;
|
||||||
double overlaySettingTemperature;
|
double overlaySettingTemperature = false;
|
||||||
QString overlayType;
|
QString overlayType;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue