Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return invalid fid instead of null fid
The default comparison code for two QVariants does a really crappy job when it comes to NULL values. I.e. it will return true for `QVariant( 0 ) == QVariant( QVariant::Int )` We work around this issue here by returning an invalid QVariant instead, which - and luckily also Qt is aware of this - also is different from 0. Fix #16745
- Loading branch information
Showing with 0 additions and 4 deletions.