remove ref to deprecated qt enum
This commit is contained in:
parent
1e22966bd3
commit
423dee3cb0
@ -446,7 +446,7 @@ public:
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option,
|
||||
const QModelIndex &index) const
|
||||
{
|
||||
QStyleOptionViewItemV4 opt = option;
|
||||
QStyleOptionViewItem opt = option;
|
||||
initStyleOption(&opt, index);
|
||||
QVariant value = index.data(Qt::DisplayRole);
|
||||
if (value.isValid() && !value.isNull()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user