VirtualBox

Changeset 10970 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 30, 2008 11:12:09 AM (16 years ago)
Author:
vboxsync
Message:

Fe/Qt4: Changed composing of default validator's warning (invalid widget's buddy name has ':' symbol removed form default warning, this is necessary due to mac settings re-layouting).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/QIWidgetValidator.cpp

    r9775 r10970  
    242242        else if (QComboBox *cb = qobject_cast<QComboBox *> (wgt))
    243243        {
    244            
     244
    245245            if (!cb->validator() || !cb->lineEdit())
    246246                continue;
     
    273273}
    274274
    275 /** 
     275/**
    276276 *  Returns a message that describes the last detected error (invalid or
    277277 *  incomplete input).
     
    299299    {
    300300        if (mLastInvalid.buddy->inherits ("QLabel"))
     301        {
     302            /* Remove '&' symbol from the buddy field name */
    301303            title = VBoxGlobal::
    302304                removeAccelMark (((QLabel *) mLastInvalid.buddy)->text());
     305
     306            /* Remove ':' symbol from the buddy field name */
     307            title = title.remove (':');
     308        }
    303309    }
    304310
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