diff options
author | Arno <am@disconnect.de> | 2010-12-12 11:45:44 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-12-12 11:45:44 +0100 |
commit | 9f0e70a4e0d57b0979330bb1f0301517b65c8ae8 (patch) | |
tree | 61f3f60a426994154ba5c27122644ce1722578a7 /filestreemodel.cpp | |
parent | ce8ea0df0dd34e516bfad507c4dfb3735ecdf82b (diff) | |
download | SheMov-9f0e70a4e0d57b0979330bb1f0301517b65c8ae8.tar.gz SheMov-9f0e70a4e0d57b0979330bb1f0301517b65c8ae8.tar.bz2 SheMov-9f0e70a4e0d57b0979330bb1f0301517b65c8ae8.zip |
Mark local files
Show files present on filesystem in Qt::darkBlue.
Diffstat (limited to 'filestreemodel.cpp')
-rw-r--r-- | filestreemodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/filestreemodel.cpp b/filestreemodel.cpp index 8fd9e31..f81711d 100644 --- a/filestreemodel.cpp +++ b/filestreemodel.cpp @@ -199,6 +199,11 @@ QVariant FilesTreeModel::data(const QModelIndex &index, int role) const{ } return QColor(Qt::green); } + if(index.column() == FileName){ + if(item->data(DvdNo) == -1){ + return QColor(Qt::darkBlue); + } + } } if(role == Qt::FontRole){ if(index.column() == Md5Sum){ |