forked from qt-creator/qt-creator
Boot2Qt: Adapt to QProcess::startDetached() deprecation
Change-Id: I2793c4298ddc30831454de8664a8ccd8e8678bd5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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 =
|
||||||
|
Reference in New Issue
Block a user