Remove the lessThan method.
std::sort will use QUrl < operator (since Qt 5.4).
Details
Details
- Reviewers
dfaure - Group Reviewers
Frameworks - Commits
- R241:bba871deced2: Use QUrl < instead of QString.compare
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Well then you can just remove lessThan altogether, and call std::sort with only 2 arguments instead of 3 ;)