forked from qt-creator/qt-creator
Use QtcProcess
Change-Id: Ie41a40534f231c68797205e4dd817f5e98963b07 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -378,7 +378,7 @@ CallgrindToolPrivate::CallgrindToolPrivate()
|
||||
action->setIcon(kCachegrindIcon.icon());
|
||||
action->setToolTip(CallgrindTool::tr("Open results in KCachegrind."));
|
||||
connect(action, &QAction::triggered, this, [this, settings] {
|
||||
QProcess::startDetached(settings->kcachegrindExecutable.value(), { m_lastFileName });
|
||||
QtcProcess::startDetached({FilePath::fromString(settings->kcachegrindExecutable.value()), { m_lastFileName }});
|
||||
});
|
||||
|
||||
// dump action
|
||||
|
||||
Reference in New Issue
Block a user