VirtualBox

Changeset 4366 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 24, 2007 6:55:09 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23913
Message:

FE/Qt: Fixed builds.

File:
1 edited

Legend:

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

    r4364 r4366  
    163163            if (!le->validator() || !le->isEnabled())
    164164                continue;
     165            QString text = le->text();
    165166            int pos;
    166             state = le->validator()->validate (le->text(), pos);
     167            state = le->validator()->validate (text, pos);
    167168        }
    168169        else if (watched.widget->inherits ("QComboBox"))
     
    172173            if (!cb->validator() || !cb->isEnabled())
    173174                continue;
     175            QString text = cb->lineEdit()->text();
    174176            int pos;
    175             state = cb->lineEdit()->validator()->
    176                 validate (cb->lineEdit()->text(), pos);
     177            state = cb->lineEdit()->validator()->validate (text, pos);
    177178        }
    178179
Note: See TracChangeset for help on using the changeset viewer.

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