Fix color roles of SyncthingRecentChangesModel
This commit is contained in:
parent
033745f734
commit
153fc24492
|
@ -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)
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue