Double clicking a PID will select it.

This commit is contained in:
Ernie Pasveer
2021-11-28 07:28:07 -06:00
parent e8cfe9a857
commit 1d15f35dd0
4 changed files with 17 additions and 0 deletions
+6
View File
@@ -8,6 +8,7 @@ SeerSlashProcDialog::SeerSlashProcDialog (QWidget* parent) : QDialog(parent) {
// Setup the widgets
// Connect things.
QObject::connect(slashProcWidget, &SeerSlashProcWidget::pidSelected, this, &SeerSlashProcDialog::handlePidSelected);
}
SeerSlashProcDialog::~SeerSlashProcDialog () {
@@ -28,3 +29,8 @@ QString SeerSlashProcDialog::selectedCommandLine () const {
return slashProcWidget->selectedCommandLine();
}
void SeerSlashProcDialog::handlePidSelected() {
done(QDialog::Accepted);
}