[PATCH 13/13] In Qt5 reset() is depricated.

Thiago Macieira thiago at macieira.org
Wed Jan 15 09:41:33 UTC 2014


On quarta-feira, 15 de janeiro de 2014 09:30:44, Anton Lundin wrote:
> Signed-off-by: Anton Lundin <glance at acc.umu.se>
> ---
>  qt-ui/models.cpp | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
> index 82aa312..63b97ad 100644
> --- a/qt-ui/models.cpp
> +++ b/qt-ui/models.cpp
> @@ -1577,7 +1577,8 @@ void TablePrintModel::insertRow(int index)
> 
>  void TablePrintModel::callReset()
>  {
> -	reset();
> +	beginResetModel();
> +	endResetModel();
>  }

Ah, here's the other end of the change :-)

I suggest squashing patches 9 and 13, so they make more sense.

-- 
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/c8cd14b3/attachment.sig>


More information about the subsurface mailing list