mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 22:52:33 -06:00
Add case-sensitive & case-insensitive natural sort helper function
Fix helper function not being thread-safe Use QBT_USES_QT5 define
This commit is contained in:
committed by
sledgehammer999
parent
b7cb53a251
commit
4078fc5e2d
@@ -48,7 +48,7 @@ protected:
|
||||
case PeerListDelegate::CLIENT: {
|
||||
QString vL = left.data().toString();
|
||||
QString vR = right.data().toString();
|
||||
return Utils::String::naturalCompare(vL, vR);
|
||||
return Utils::String::naturalCompareCaseSensitive(vL, vR);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user