Commit 179b1739 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark Committed by Kurt Hindenburg
Browse files

Fix memory leak

parent bfe197b7
......@@ -56,7 +56,7 @@ SSHManagerTreeWidget::SSHManagerTreeWidget(QWidget *parent)
// System and User ports see:
// https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
const auto *portValidator = new QIntValidator(0, 49151);
const auto *portValidator = new QIntValidator(0, 49151, this);
ui->port->setValidator(portValidator);
connect(ui->newSSHConfig, &QPushButton::clicked, this, &SSHManagerTreeWidget::showInfoPane);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment