Currently working on a patch to address deprecations that trigger -Werror with Qt 5.14.1

Scott Kostyshak skostysh at lyx.org
Wed Mar 4 01:40:38 UTC 2020


On Tue, Mar 03, 2020 at 11:32:51PM +0100, Pavel Sanda wrote:
> On Tue, Mar 03, 2020 at 02:24:39PM -0500, Scott Kostyshak wrote:
> > understand what "**it" is, or how it works. Does this mean that somehow
> > a QTreeWidgetItem::operator* is defined or something like that? 
> 
> Yes, https://doc.qt.io/qt-5/qtreewidgetitemiterator.html#operator-2a

Thanks, Pavel. I missed that dereferencing the iterator returns a
*pointer* to QTreeWidgetItem. When you dereference an iterator, isn't it
usually expected to return the object, not a pointer to the object?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200303/ba9186da/attachment.asc>


More information about the lyx-devel mailing list