cleanup: fix deprecated role

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-10-25 14:41:52 -07:00
parent 5aaff77b9e
commit ea4e83fead

View file

@ -270,7 +270,7 @@ QVariant ColumnNameResult::data(const QModelIndex &index, int role) const
{
if (!index.isValid())
return QVariant();
if (role == Qt::BackgroundColorRole)
if (role == Qt::BackgroundRole)
if (index.row() == 0)
return QVariant(AIR_BLUE_TRANS);