diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 14:41:52 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-26 19:27:03 -0700 |
commit | ea4e83feada9c86cfa7aec249623196375da43a2 (patch) | |
tree | b28476a0f1c15205f08cb08b1a71a3238f84684e /desktop-widgets | |
parent | 5aaff77b9edf0e21e1bb08c882bdce3db9f67587 (diff) | |
download | subsurface-ea4e83feada9c86cfa7aec249623196375da43a2.tar.gz |
cleanup: fix deprecated role
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/divelogimportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/divelogimportdialog.cpp b/desktop-widgets/divelogimportdialog.cpp index fc7e7d81e..9876c3550 100644 --- a/desktop-widgets/divelogimportdialog.cpp +++ b/desktop-widgets/divelogimportdialog.cpp @@ -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); |