From 4298385ec33d40001af8b2d04e896e6a332d33e8 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Fri, 19 Jun 2020 20:47:29 +0200 Subject: Remove deprecated roles BackgroundColorRole and TextColorRole Change-Id: I2729102d1efa9f3809ec22c29517961800e7dc6d Reviewed-by: Lars Knoll --- src/widgets/itemviews/qitemdelegate.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/widgets/itemviews/qitemdelegate.cpp') diff --git a/src/widgets/itemviews/qitemdelegate.cpp b/src/widgets/itemviews/qitemdelegate.cpp index ddcc9a637e..e6a68bcadd 100644 --- a/src/widgets/itemviews/qitemdelegate.cpp +++ b/src/widgets/itemviews/qitemdelegate.cpp @@ -267,7 +267,6 @@ QSizeF QItemDelegatePrivate::doTextLayout(int lineWidth) const \row \li \l Qt::AccessibleTextRole \li QString \endomit \row \li \l Qt::BackgroundRole \li QBrush (\since 4.2) - \row \li \l Qt::BackgroundColorRole \li QColor (obsolete; use Qt::BackgroundRole instead) \row \li \l Qt::CheckStateRole \li Qt::CheckState \row \li \l Qt::DecorationRole \li QIcon, QPixmap and QColor \row \li \l Qt::DisplayRole \li QString and types with a string representation @@ -279,7 +278,6 @@ QSizeF QItemDelegatePrivate::doTextLayout(int lineWidth) const \endomit \row \li \l Qt::TextAlignmentRole \li Qt::Alignment \row \li \l Qt::ForegroundRole \li QBrush (\since 4.2) - \row \li \l Qt::TextColorRole \li QColor (obsolete; use Qt::ForegroundRole instead) \omit \row \li \l Qt::ToolTipRole \row \li \l Qt::WhatsThisRole -- cgit v1.2.3