Fix whitespaces

master
Simon Stürz 2021-12-09 07:26:52 +01:00
parent 8a2d0d9852
commit 81c33edaed
1 changed files with 2 additions and 2 deletions

View File

@ -151,8 +151,8 @@ void IntegrationPluginFronius::setupThing(ThingSetupInfo *info)
// Knwon version with broken JSON API
if (versionResponseMap.value("CompatibilityRange").toString() == "1.6-2") {
qCWarning(dcFronius()) << "The Fronius data logger has a version which is known to have a broken JSON API firmware.";
info->finish(Thing::ThingErrorHardwareFailure, QT_TR_NOOP("The firmware version 1.6-2 of this Fronius data logger has a broken API. Please update your Fronius device."));
return;
info->finish(Thing::ThingErrorHardwareFailure, QT_TR_NOOP("The firmware version 1.6-2 of this Fronius data logger has a broken API. Please update your Fronius device."));
return;
}
FroniusLogger *newLogger = new FroniusLogger(thing, this);