[PATCH 09/13] QAbstractItemModel::reset doesn't exist in Qt5

Thiago Macieira thiago at macieira.org
Wed Jan 15 09:32:56 UTC 2014

On quarta-feira, 15 de janeiro de 2014 09:30:40, Anton Lundin wrote:
> -    void reset() { QAbstractItemModel::reset(); }
> +    void reset();

I don't see how this one can compile if reset() is virtual or getting called 
by anything.

If this compiles for you, it means that it isn't virtual (it isn't) and it 
isn't called by anything in either version of Qt. Which means the method above 
is pointless, you can simply remove it as part of a clean-up. :-)

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140115/1d473208/attachment.sig>

More information about the subsurface mailing list