Bug fix. Updates through the server didn't update the read field in the DB.

This commit is contained in:
Luis Ángel San Martín
2017-10-20 17:42:25 +02:00
commit 02e7caf5c5
1047 changed files with 103574 additions and 0 deletions

15
common/qnaturalsorting.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef __QNATURALSORTING_H
#define __QNATURALSORTING_H
#include <QString>
#include <QFileInfo>
#include "library_item.h"
bool naturalSortLessThanCS( const QString &left, const QString &right );
bool naturalSortLessThanCI( const QString &left, const QString &right );
bool naturalSortLessThanCIFileInfo(const QFileInfo & left,const QFileInfo & right);
bool naturalSortLessThanCILibraryItem(LibraryItem * left, LibraryItem * right);
#endif