mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-22 08:04:19 +01:00
Qt6: remove QRegExp
This commit is contained in:
@@ -14,12 +14,12 @@ PageSetRestoreHeight::PageSetRestoreHeight(WizardFields *fields, QWidget *parent
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
QRegExp yearRe(R"(\d{2,4}-\d{1,2}-\d{1,2})");
|
||||
QValidator *yearValidator = new QRegExpValidator(yearRe, this);
|
||||
QRegularExpression yearRe(R"(\d{2,4}-\d{1,2}-\d{1,2})");
|
||||
QValidator *yearValidator = new QRegularExpressionValidator(yearRe, this);
|
||||
ui->line_creationDate->setValidator(yearValidator);
|
||||
|
||||
QRegExp heightRe(R"(\d{7})");
|
||||
QValidator *heightValidator = new QRegExpValidator(heightRe, this);
|
||||
QRegularExpression heightRe(R"(\d{7})");
|
||||
QValidator *heightValidator = new QRegularExpressionValidator(heightRe, this);
|
||||
ui->line_restoreHeight->setValidator(heightValidator);
|
||||
|
||||
QPixmap pixmap = QPixmap(":/assets/images/unpaid.png");
|
||||
|
||||
Reference in New Issue
Block a user