summaryrefslogtreecommitdiffstats
path: root/filewidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-01-02 23:33:17 +0100
committerArno <arno@disconnect.de>2018-01-02 23:33:17 +0100
commit54079b4b80af46663590c46109fabeb5cc94a6db (patch)
tree7d372b6551207301e53d1acca8a11dd288d4773f /filewidget.h
parentaab351093e3ba713f1179a797d0f5929bdb4c92c (diff)
downloadShemovCleaner-54079b4b80af46663590c46109fabeb5cc94a6db.tar.gz
ShemovCleaner-54079b4b80af46663590c46109fabeb5cc94a6db.tar.bz2
ShemovCleaner-54079b4b80af46663590c46109fabeb5cc94a6db.zip
Sort size numerically, not alphabetically
Diffstat (limited to 'filewidget.h')
-rw-r--r--filewidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/filewidget.h b/filewidget.h
index 468821f..0d66d9d 100644
--- a/filewidget.h
+++ b/filewidget.h
@@ -31,7 +31,7 @@ class FileWidget : public QWidget {
Q_OBJECT
public:
enum FileAttrs { NotPresent = 0, Present = 1, NoVideo = 2, ParentDir = 3, Directory = 4, Origin = 5 };
- enum CustomRoles { AttrsRole = Qt::UserRole + 1, FullPathRole = Qt::UserRole + 2, DurationRole = Qt::UserRole + 3, MD5SumRole = Qt::UserRole + 4, SecondsRole = Qt::UserRole + 5 };
+ enum CustomRoles { AttrsRole = Qt::UserRole + 1, FullPathRole = Qt::UserRole + 2, DurationRole = Qt::UserRole + 3, MD5SumRole = Qt::UserRole + 4, SecondsRole = Qt::UserRole + 5, SizeRole = Qt::UserRole + 6 };
enum { ColumnCount = 7 };
enum Columns { IconColumn = 0, NameColumn = 1, CopiedColumn = 2, MimeColumn = 3, DurationColumn = 4, SizeColumn = 5, Md5Column = 6 };
enum FileAction { Copy, Cut, Paste };