cleanup: fix deprecated role
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5aaff77b9e
commit
ea4e83fead
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user