mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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())
|
if (!index.isValid())
|
||||||
return QVariant();
|
return QVariant();
|
||||||
if (role == Qt::BackgroundColorRole)
|
if (role == Qt::BackgroundRole)
|
||||||
if (index.row() == 0)
|
if (index.row() == 0)
|
||||||
return QVariant(AIR_BLUE_TRANS);
|
return QVariant(AIR_BLUE_TRANS);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue