forked from qt-creator/qt-creator
ProjectExplorer: Use Utils::CommandLine in ProjectExplorer::Runnable
Change-Id: Id965f1f9047dcbc3ea5c9ddaa550d12668cf8ae6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -121,7 +121,7 @@ UnstartedAppWatcherDialog::UnstartedAppWatcherDialog(QWidget *parent)
|
||||
if (isLocal(runConfig)) {
|
||||
resetExecutable->setEnabled(true);
|
||||
connect(resetExecutable, &QPushButton::clicked, this, [this, runnable] {
|
||||
m_pathChooser->setFilePath(runnable.executable);
|
||||
m_pathChooser->setFilePath(runnable.command.executable());
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -200,7 +200,7 @@ void UnstartedAppWatcherDialog::selectExecutable()
|
||||
if (RunConfiguration *runConfig = activeTarget->activeRunConfiguration()) {
|
||||
const Runnable runnable = runConfig->runnable();
|
||||
if (isLocal(runConfig))
|
||||
path = runnable.executable.parentDir();
|
||||
path = runnable.command.executable().parentDir();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user