forked from qt-creator/qt-creator
Utils: Rename ProjectExplorer::Runnable into Utils::ProcessRunData
Move it into Utils lib. Change-Id: I3b6c16d18439cabddf59afc03116f13c1970102c Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -18,9 +18,10 @@
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/projecttree.h>
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
#include <projectexplorer/runcontrol.h>
|
||||
#include <projectexplorer/target.h>
|
||||
|
||||
#include <utils/processinterface.h>
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QFileDialog>
|
||||
@@ -98,7 +99,7 @@ UnstartedAppWatcherDialog::UnstartedAppWatcherDialog(QWidget *parent)
|
||||
pathLayout->addWidget(resetExecutable);
|
||||
if (activeTarget) {
|
||||
if (RunConfiguration *runConfig = activeTarget->activeRunConfiguration()) {
|
||||
const Runnable runnable = runConfig->runnable();
|
||||
const ProcessRunData runnable = runConfig->runnable();
|
||||
if (isLocal(runConfig)) {
|
||||
resetExecutable->setEnabled(true);
|
||||
connect(resetExecutable, &QPushButton::clicked, this, [this, runnable] {
|
||||
@@ -179,7 +180,7 @@ void UnstartedAppWatcherDialog::selectExecutable()
|
||||
|
||||
if (activeTarget) {
|
||||
if (RunConfiguration *runConfig = activeTarget->activeRunConfiguration()) {
|
||||
const Runnable runnable = runConfig->runnable();
|
||||
const ProcessRunData runnable = runConfig->runnable();
|
||||
if (isLocal(runConfig))
|
||||
path = runnable.command.executable().parentDir();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user