From 1988bbb58e4c5b6adc742498cc79e7b5ccc39801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Fri, 26 May 2017 17:19:55 +0200 Subject: [PATCH] Make `naturalComprare` public in case we need to user the int return value instead of a bool. --- common/qnaturalsorting.h | 1 + 1 file changed, 1 insertion(+) diff --git a/common/qnaturalsorting.h b/common/qnaturalsorting.h index 9a84f96a..614e419e 100644 --- a/common/qnaturalsorting.h +++ b/common/qnaturalsorting.h @@ -7,6 +7,7 @@ #include #include "library_item.h" +int naturalCompare(const QString &s1, const QString &s2, Qt::CaseSensitivity caseSensitivity); bool naturalSortLessThanCS( const QString &left, const QString &right ); bool naturalSortLessThanCI( const QString &left, const QString &right ); bool naturalSortLessThanCIFileInfo(const QFileInfo & left,const QFileInfo & right);