Normalize return value of TitleComparison::compare

Authored by pino on Apr 23 2020, 7:58 AM.

Description

Normalize return value of TitleComparison::compare

It seems that QString::localeAwareCompare returns values different
than -1/+1 (still with the same sign) in Qt versions older than 5.14;
considering that every other Comparison class returns -1/+1, and the
test for this too, normalize the return value of
QString::localeAwareCompare.

Details

Committed
pinoApr 23 2020, 7:58 AM
Parents
R470:aee9e90c1ce0: Use unnamespaced hex for Qt < 5.14
Branches
Unknown
Tags
Unknown