diff options
author | Christian Kandeler <[email protected]> | 2013-08-08 11:13:20 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2013-08-08 12:24:40 +0200 |
commit | b055c0e50652219959352eda32d6333205ef24f2 (patch) | |
tree | aac02ff5933feaba489ccec5cc8e9e4e5d85b6d3 /src/plugins/debugger/debuggerplugin.cpp | |
parent | 2665a1249bd666b260455b43462dcebcefaa3ff4 (diff) |
Device support: Rename DeviceProcess to DeviceProcessItem.
We want to introduce a new class that has more right to that name.
Change-Id: I9535632e10872a97a8555e885a80c383bc5dcd2b
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 60e479bf940..4779e92cebc 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -527,7 +527,7 @@ public: static QString executableForPid(qint64 pid) { - foreach (const DeviceProcess &p, DeviceProcessList::localProcesses()) + foreach (const DeviceProcessItem &p, DeviceProcessList::localProcesses()) if (p.pid == pid) return p.exe; return QString(); @@ -1688,7 +1688,7 @@ void DebuggerPluginPrivate::attachToProcess(bool startServerOnly) QTC_ASSERT(kit, return); IDevice::ConstPtr device = DeviceKitInformation::device(kit); QTC_ASSERT(device, return); - DeviceProcess process = dlg->currentProcess(); + DeviceProcessItem process = dlg->currentProcess(); if (process.pid == 0) { QMessageBox::warning(mainWindow(), tr("Warning"), tr("Cannot attach to process with PID 0")); |