Boot2Qt: Adapt to QProcess::startDetached() deprecation

Change-Id: I2793c4298ddc30831454de8664a8ccd8e8678bd5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2020-02-19 08:32:56 +01:00
parent ee05e49f79
commit 006da25949

View File

@@ -71,7 +71,7 @@ static void startFlashingWizard()
if (Utils::HostOsInfo::isWindowsHost()) { if (Utils::HostOsInfo::isWindowsHost()) {
if (QProcess::startDetached(QLatin1String("explorer.exe"), {filePath})) if (QProcess::startDetached(QLatin1String("explorer.exe"), {filePath}))
return; return;
} else if (QProcess::startDetached(filePath)) { } else if (QProcess::startDetached(filePath, {})) {
return; return;
} }
const QString message = const QString message =