added a hack for fixing fullscreen context menus with QOpengGLWidget in YACReader

This commit is contained in:
Luis Ángel San Martín
2016-05-01 21:52:22 +02:00
commit dd64e013be
986 changed files with 90311 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