Review Request 108707: fix broken comparison "! value.type() == QVariant::List" in kptcalendarmodel.cpp

Commit Hook null at kde.org
Sat Feb 2 00:21:42 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108707/#review26531
-----------------------------------------------------------


This review has been submitted with commit 493bfdd3d1b77fa741a86d27b7765fa7724f4fca by Friedrich W. H. Kossebau to branch calligra/2.6.

- Commit Hook


On Feb. 1, 2013, 11:25 p.m., Friedrich W. H. Kossebau wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108707/
> -----------------------------------------------------------
> 
> (Updated Feb. 1, 2013, 11:25 p.m.)
> 
> 
> Review request for Calligra and Dag Andersen.
> 
> 
> Description
> -------
> 
> Missing the proper knowledge about Plan to test this fix myself, but MSVC is indeed right that this comparison will not work as wanted, as operator! has a higher precedence than operator ==. Patch changes comparison to just use operator !=.
> 
> Might have just worked accidently until now.
> 
> Okay to commit?
> And also backport to 2.6?
> 
> 
> Diffs
> -----
> 
>   plan/libs/models/kptcalendarmodel.cpp 8b482ec 
> 
> Diff: http://git.reviewboard.kde.org/r/108707/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Friedrich W. H. Kossebau
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20130202/c7538be6/attachment.htm>


More information about the calligra-devel mailing list