Changeset 57360 in vbox
- Timestamp:
- Aug 14, 2015 3:23:41 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102123
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPortForwardingTable.cpp
r56159 r57360 219 219 setAlignment(Qt::AlignCenter); 220 220 setValidator(new IPv4Validator(this)); 221 setInputMask("000.000.000.000"); 221 connect(this, SIGNAL(textEdited(const QString&)), this, SLOT(sltTextEdited(const QString&))); 222 } 223 224 private slots: 225 226 /** Drops the changed data to listener. */ 227 void sltTextEdited(const QString&) 228 { 229 emit sigCommitData(this); 222 230 } 223 231 … … 256 264 setAlignment(Qt::AlignCenter); 257 265 setValidator(new IPv6Validator(this)); 258 // setInputMask("000.000.000.000"); // No mask for now... 266 connect(this, SIGNAL(textEdited(const QString&)), this, SLOT(sltTextEdited(const QString&))); 267 } 268 269 private slots: 270 271 /** Drops the changed data to listener. */ 272 void sltTextEdited(const QString&) 273 { 274 emit sigCommitData(this); 259 275 } 260 276
Note:
See TracChangeset
for help on using the changeset viewer.