Document change to QAbstractItemView::viewOptions in porting guide

We couldn't deprecate and add the replacement in 5.15, so list it
explicitly here.

Amends c501e09efacb8a60deb41f85f3402f6f4c041d95.

Change-Id: I174a7b6214cd8b9579b029ebf57e4d5b2e28e574
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
(cherry picked from commit a395372ccf7b6ce5575aeec627b403c4f9af9647)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Volker Hilsheimer 2021-04-04 09:59:41 +02:00 committed by Qt Cherry-pick Bot
parent 24807f57cd
commit 7304bce4aa

View File

@ -80,6 +80,14 @@
The QComboBox::setModel() function is now virtual.
\section1 ItemViews
\section2 The QAbstractItemView class
The virtual viewOptions() method that previously returned a QStyleOptionViewItem
object has been renamed to initViewItemOption, and initializes a
QStyleOptionViewItem object that's passed in through a pointer.
\section1 Styling Classes and related APIs
All versioned QStyleOption subclasses are consolidated, and the version