VirtualBox

Ignore:
Timestamp:
Apr 13, 2016 3:53:21 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: ​bugref:7456: Port Forwarding UI: Disabling 1st (initial) level of validation, which can be quite annoying in certain cases. Leaving only 2nd (final) validation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPortForwardingTable.cpp

    r60470 r60478  
    4848
    4949
     50#if 0 /* Decided to not use it for now. */
    5051/* IPv4 validator: */
    5152class IPv4Validator : public QValidator
     
    101102    }
    102103};
     104#endif /* Decided to not use it for now. */
    103105
    104106/* Name editor: */
     
    183185        setFrame(false);
    184186        setAlignment(Qt::AlignCenter);
    185         setValidator(new IPv4Validator(this));
     187        // Decided to not use it for now:
     188        // setValidator(new IPv4Validator(this));
    186189    }
    187190
     
    214217        setFrame(false);
    215218        setAlignment(Qt::AlignCenter);
    216         setValidator(new IPv6Validator(this));
     219        // Decided to not use it for now:
     220        // setValidator(new IPv6Validator(this));
    217221    }
    218222
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