From c8a12c10bba1a74282e84f7613d76912c419cd35 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 14 Feb 2014 15:51:19 +0100 Subject: Fix size filter in Archive Browser The size filter filtered more than selectedSize in the statusBar suggested, because it used a differet size. Fix it by using a #define everywhere. --- archivemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archivemodel.cpp') diff --git a/archivemodel.cpp b/archivemodel.cpp index 212c60d..388833d 100644 --- a/archivemodel.cpp +++ b/archivemodel.cpp @@ -759,7 +759,7 @@ QVariant ArchiveFilesModel::data(const QModelIndex &index, int role) const { } if(col == Size){ qint64 size = item->data(Size).toInt(); - qint64 fMax = Q_INT64_C(1024 * 1024 * 1024 * 4); + qint64 fMax = DVDSIZE; if(size < fMax){ return QBrush(Qt::green); }else{ -- cgit v1.2.3-70-g09d2