mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-12 05:52:11 +00:00
Minor code formatting
This commit is contained in:
parent
c3bde7c910
commit
626a224382
@ -80,7 +80,7 @@ bool Utils::String::NaturalCompare::lessThan(const QString &left, const QString
|
|||||||
int posR = 0;
|
int posR = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
while (true) {
|
while (true) {
|
||||||
if (posL == left.size() || posR == right.size())
|
if ((posL == left.size()) || (posR == right.size()))
|
||||||
return (left.size() < right.size()); // when a shorter string is another string's prefix, shorter string place before longer string
|
return (left.size() < right.size()); // when a shorter string is another string's prefix, shorter string place before longer string
|
||||||
|
|
||||||
QChar leftChar = left[posL].toLower();
|
QChar leftChar = left[posL].toLower();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user