diff options
author | Arno <am@disconnect.de> | 2014-02-14 15:51:19 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2014-02-14 15:51:19 +0100 |
commit | c8a12c10bba1a74282e84f7613d76912c419cd35 (patch) | |
tree | 27727664d65767756474387dc5f783d744fefa39 /archivemodel.cpp | |
parent | 424d37e94dbf820e3d0559e0041d6d2cd005f072 (diff) | |
download | SheMov-c8a12c10bba1a74282e84f7613d76912c419cd35.tar.gz SheMov-c8a12c10bba1a74282e84f7613d76912c419cd35.tar.bz2 SheMov-c8a12c10bba1a74282e84f7613d76912c419cd35.zip |
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.
Diffstat (limited to 'archivemodel.cpp')
-rw-r--r-- | archivemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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{ |