forked from qt-creator/qt-creator
Use QtcProcess
Change-Id: Ie41a40534f231c68797205e4dd817f5e98963b07 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -192,7 +192,7 @@ bool ModulesModel::contextMenuEvent(const ItemViewEvent &ev)
|
||||
addAction(menu, tr("Show Dependencies of \"%1\"").arg(moduleName),
|
||||
tr("Show Dependencies"),
|
||||
moduleNameValid && !moduleName.isEmpty() && HostOsInfo::isWindowsHost(),
|
||||
[modulePath] { QProcess::startDetached("depends", {modulePath}); });
|
||||
[modulePath] { QtcProcess::startDetached({{"depends"}, {modulePath}}); });
|
||||
|
||||
addAction(menu, tr("Load Symbols for All Modules"),
|
||||
enabled && canLoadSymbols,
|
||||
|
||||
Reference in New Issue
Block a user