Don't use red for last updated file unless deleted
This commit is contained in:
parent
6a154c74af
commit
53e2561373
|
@ -123,7 +123,7 @@ QVariant SyncthingDirectoryModel::data(const QModelIndex &index, int role) const
|
|||
}
|
||||
break;
|
||||
case 6:
|
||||
return dir.lastFileName.isEmpty() ? Colors::gray(m_brightColors) : Colors::red(m_brightColors);
|
||||
return dir.lastFileName.isEmpty() ? Colors::gray(m_brightColors) : (dir.lastFileDeleted ? Colors::red(m_brightColors) : QVariant());
|
||||
case 7:
|
||||
return dir.errors.empty() ? Colors::gray(m_brightColors) : Colors::red(m_brightColors);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue