By the way, do you realize that this is incorrect syntax for OR-ing flags?
Qt::MatchFlags(Qt::MatchExactly || Qt::MatchWrap)
Qt::MatchFlags(Qt::MatchExactly || Qt::MatchWrap)
To copy to clipboard, switch view to plain text mode
It should be this:
Qt::MatchFlags(Qt::MatchExactly | Qt::MatchWrap)
Qt::MatchFlags(Qt::MatchExactly | Qt::MatchWrap)
To copy to clipboard, switch view to plain text mode
A simple typo like this could lead to all sorts of unexplained behavior, because the result of the logical OR (||) will probably not be the same as the result of the bitwise OR (|).
Bookmarks