Improve documentation of QStringRef::compare


Same as other compare() overloads for consistency and better
understanding.

Pick-to: 6.7 6.6 6.5 6.2
Task-number: QTBUG-114822
Change-Id: Ie847a26adfd2367bd4601611dca42183da8f24ab
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commitef8c07b2e1c2a28b19761456b4ba866124f6fccd
parent9d59188abcc5af80f2c732f0ad918de4350af846
authorJaishree Vyas <jaishree.vyas@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeTue, 12 Dec 2023 08:07:48 +0000