Boot2Qt: Fix compile for gcc5.3

Change-Id: Ib104ca611d962e41352e95cef35c450307ffa029
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2019-06-13 09:29:40 +02:00
committed by hjk
parent 465d4cc845
commit f6b2cf10ba
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ void DeviceApplicationObserver::handleFinished(bool success)
QdbDevice::QdbDevice()
{
addDeviceAction({tr("Reboot Device"), [](const IDevice::Ptr &device, QWidget *) {
Command cmd{"reboot", {}};
Command cmd{QStringLiteral("reboot"), {}};
(new DeviceApplicationObserver)->start(device, cmd);
}});