forked from qt-creator/qt-creator
Fixes: simplify "Attach to Running Process" code
Details: also sorts by process name by default
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user