Changeset 48579 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Sep 20, 2013 10:55:37 AM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
r48576 r48579 949 949 strIPv6Rule.replace(':', ','); 950 950 /* But replace ',' back with ':' for addresses: */ 951 QRegExp re("\\[[ ^:\\[\\]]+\\]");951 QRegExp re("\\[[0-9a-fA-F,]*,[0-9a-fA-F,]*\\]"); 952 952 re.setMinimal(true); 953 953 while (re.indexIn(strIPv6Rule) != -1) -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPortForwardingTable.cpp
r48548 r48579 110 110 setFrame(false); 111 111 setAlignment(Qt::AlignLeft | Qt::AlignVCenter); 112 setValidator(new QRegExpValidator(QRegExp("[^, ]*"), this));112 setValidator(new QRegExpValidator(QRegExp("[^,:]*"), this)); 113 113 } 114 114
Note:
See TracChangeset
for help on using the changeset viewer.