VirtualBox

Changeset 99066 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 20, 2023 12:22:14 PM (23 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10343: Machine settings / USB page: Adjust filter port validator to let up to 0xFFFF values; Ranges come later if approved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBFilterDetailsEditor.cpp

    r98103 r99066  
    393393            if (m_pLabelPort)
    394394                m_pLabelPort->setBuddy(m_pEditorPort);
    395             m_pEditorPort->setValidator(new QRegularExpressionValidator(QRegularExpression("[0-9]*"), this));
     395            m_pEditorPort->setValidator(new QRegularExpressionValidator(QRegularExpression("(0[xX])?[0-9a-fA-F]{0,4}"), this));
    396396
    397397            pLayout->addWidget(m_pEditorPort, 7, 1);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette