mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
cleanup: fix deprecated role
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5aaff77b9e
commit
ea4e83fead
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue