mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
Double clicking a PID will select it.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user