Fixes: simplify "Attach to Running Process" code

Details: also sorts by process name by default
This commit is contained in:
hjk
2009-01-05 14:38:51 +01:00
parent 02fec25be1
commit 6705bc7e60
4 changed files with 6 additions and 10 deletions

View File

@@ -804,8 +804,7 @@ bool DebuggerManager::startNewDebugger(StartMode mode)
m_workingDir = QString();
m_attachedPID = -1;
} else if (startMode() == attachExternal) {
QString pid;
AttachExternalDialog dlg(mainWindow(), pid);
AttachExternalDialog dlg(mainWindow());
if (dlg.exec() != QDialog::Accepted)
return false;
m_executable = QString();