Both validate() and fixup() take a non-const reference to the text they process so you can actually modify it to return an accepted value. Take a look at the docs of QValidator::fixup().
Both validate() and fixup() take a non-const reference to the text they process so you can actually modify it to return an accepted value. Take a look at the docs of QValidator::fixup().
Bookmarks