Commit da64efd6 authored by patrick pereira's avatar patrick pereira 🏃

parrotvehicle: Use QStringLiteral over QLatin1String

Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 5616d64b
......@@ -1139,7 +1139,7 @@ void ParrotVehicle::initVehicle()
const QDateTime &now = QDateTime::currentDateTime();
sendCommand(Parrot::CommonCommonCurrentDate, {now.date().toString(Qt::ISODate)}, true);
sendCommand(Parrot::CommonCommonCurrentTime, {now.time().toString(QLatin1String("THHmmss+0000"))}, true);
sendCommand(Parrot::CommonCommonCurrentTime, {now.time().toString(QStringLiteral("THHmmss+0000"))}, true);
sendCommand(Parrot::CommonCommonAllStates, QVariantList(), true);
sendCommand(Parrot::CommonSettingsAllSettings, QVariantList(), true);
......
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