Changeset 90154 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPageBasic.cpp
- Timestamp:
- Jul 12, 2021 8:14:20 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPageBasic.cpp
r90153 r90154 314 314 m_pHostnameDomainEditor = new UIHostnameDomainEditor; 315 315 if (m_pHostnameDomainEditor) 316 {317 // if (m_pHostnameLabel)318 // m_pHostnameLabel->setBuddy(m_pHostnameLineEdit);319 // QRegularExpression hostNameRegex("^[a-zA-Z0-9-.]{2,}\\.[a-zA-Z0-9-.]+$");^[a-zA-Z0-9-.]{2,}\.[a-zA-Z0-9-.]+$320 // m_pHostnameLineEdit->setValidator(new QRegularExpressionValidator(hostNameRegex, this));321 // m_pHostnameLineEdit->setInputMask("NNNNN-NNNNN-NNNNN-NNNNN-NNNNN;#");322 316 pAdditionalOptionsContainerLayout->addWidget(m_pHostnameDomainEditor, 1, 0, 2, 3); 323 }324 317 325 318 m_pStartHeadlessCheckBox = new QCheckBox;
Note:
See TracChangeset
for help on using the changeset viewer.