forked from qt-creator/qt-creator
Use ProcessInfo instead of DeviceProcessItem
Remove DeviceProcessItem class. Change-Id: I2fcac473dc12b47f50c329645f27d60619304e77 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
#include <debugger/debuggerruncontrol.h>
|
||||
|
||||
#include <projectexplorer/devicesupport/deviceprocessesdialog.h>
|
||||
#include <projectexplorer/devicesupport/deviceprocesslist.h>
|
||||
#include <projectexplorer/devicesupport/deviceusedportsgatherer.h>
|
||||
#include <projectexplorer/kit.h>
|
||||
#include <projectexplorer/kitchooser.h>
|
||||
@@ -55,6 +54,7 @@
|
||||
|
||||
#include <utils/pathchooser.h>
|
||||
#include <utils/portlist.h>
|
||||
#include <utils/processinfo.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/qtcprocess.h>
|
||||
|
||||
@@ -244,8 +244,7 @@ void QnxAttachDebugSupport::showProcessesDialog()
|
||||
if (!runConfig)
|
||||
return;
|
||||
|
||||
DeviceProcessItem process = dlg.currentProcess();
|
||||
const int pid = process.pid;
|
||||
const int pid = dlg.currentProcess().processId;
|
||||
// QString projectSourceDirectory = dlg.projectSource();
|
||||
FilePath localExecutable = dlg.localExecutable();
|
||||
if (localExecutable.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user