mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-13 11:44:00 +01:00
fix a few memory leaks
This commit is contained in:
@@ -16,7 +16,7 @@ PageSetSubaddressLookahead::PageSetSubaddressLookahead(WizardFields *fields, QWi
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
auto *indexValidator = new QRegularExpressionValidator{QRegularExpression("[0-9]{0,5}")};
|
||||
auto *indexValidator = new QRegularExpressionValidator{QRegularExpression("[0-9]{0,5}"), this};
|
||||
|
||||
ui->line_major->setValidator(indexValidator);
|
||||
connect(ui->line_major, &QLineEdit::textChanged, [this]{
|
||||
|
||||
Reference in New Issue
Block a user