Skip to content

Commit

Permalink
Cleanup role enum of the FileModel
Browse files Browse the repository at this point in the history
  • Loading branch information
rainemak committed Jan 12, 2018
1 parent 885b68e commit bd4ca49
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/plugin/filemodel.cpp
Expand Up @@ -44,18 +44,18 @@ namespace {

enum {
FileNameRole = Qt::UserRole + 1,
MimeTypeRole = Qt::UserRole + 2,
SizeRole = Qt::UserRole + 3,
LastModifiedRole = Qt::UserRole + 4,
CreatedRole = Qt::UserRole + 5,
IsDirRole = Qt::UserRole + 6,
IsLinkRole = Qt::UserRole + 7,
SymLinkTargetRole = Qt::UserRole + 8,
IsSelectedRole = Qt::UserRole + 9,
ExtensionRole = Qt::UserRole + 10,
AbsolutePathRole = Qt::UserRole + 11,
LastAccessedRole = Qt::UserRole + 12,
BaseNameRole = Qt::UserRole + 13
MimeTypeRole,
SizeRole,
LastModifiedRole,
CreatedRole,
IsDirRole,
IsLinkRole,
SymLinkTargetRole,
IsSelectedRole,
ExtensionRole,
AbsolutePathRole,
LastAccessedRole,
BaseNameRole
};

int access(QString fileName, int how)
Expand Down

0 comments on commit bd4ca49

Please sign in to comment.