Commit 5616d64b authored by patrick pereira's avatar patrick pereira 🏃

parrotplugin: Use QStringLiteral over QLatin1String

Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 1f3d56bb
......@@ -86,7 +86,7 @@ ParrotPlugin::ParrotPlugin(QObject *parent, const QVariantList & /* args */)
QString productSerial;
if (!service->data.isNull() || !service->data.isObject()) {
productSerial = service->data.object().value(QLatin1String("device_id")).toString();
productSerial = service->data.object().value(QStringLiteral("device_id")).toString();
} else {
qCWarning(KIROGI_VEHICLESUPPORT_PARROT) << "mDNS service has no text data. We will be unable to decode the product serial.";
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment