Changeset ae79135 in subsurface


Ignore:
Timestamp:
Mar 26, 2017, 9:55:24 PM (7 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
bd0c99d
Parents:
0b59954
git-author:
Jan Mulder <jlmulder@…> (03/25/17 08:06:46)
git-committer:
Dirk Hohndel <dirk@…> (03/26/17 21:55:24)
Message:

QStyleOptionViewItemV4 is deprecated as of Qt 5.7

Trivial change to silence compiler waring about QStyleOptionViewItemV4 being deprecated.

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • desktop-widgets/modeldelegates.cpp

    r99351b7 rae79135  
    453453        QFont fontSmaller = qApp->font();
    454454        QFontMetrics fmBigger(fontBigger);
    455         QStyleOptionViewItemV4 opt = option;
     455        QStyleOptionViewItem opt = option;
    456456        const QAbstractProxyModel *proxyModel = dynamic_cast<const QAbstractProxyModel*>(origIdx.model());
    457457        QModelIndex index = proxyModel->mapToSource(origIdx);
Note: See TracChangeset for help on using the changeset viewer.