Fix color roles of SyncthingRecentChangesModel

This commit is contained in:
Martchus 2020-02-10 10:47:35 +01:00
parent 033745f734
commit 153fc24492
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ set(META_APP_CATEGORIES "Network;FileTransfer")
set(META_GUI_OPTIONAL false)
set(META_VERSION_MAJOR 0)
set(META_VERSION_MINOR 10)
set(META_VERSION_PATCH 6)
set(META_VERSION_PATCH 7)
set(META_VERSION_EXACT_SONAME ON)
set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON)

View File

@ -41,7 +41,7 @@ QHash<int, QByteArray> SyncthingRecentChangesModel::roleNames() const
const QVector<int> &SyncthingRecentChangesModel::colorRoles() const
{
static const QVector<int> colorRoles({ Qt::DecorationRole, Qt::ForegroundRole });
static const QVector<int> colorRoles({ Qt::DecorationRole, Qt::ForegroundRole, ActionIcon });
return colorRoles;
}