New santizer warning in KF 5.98 headers

Milian Wolff mail at milianw.de
Wed Jan 11 10:02:04 GMT 2023


On Dienstag, 10. Januar 2023 23:45:26 CET Michael Reeves wrote:
> Thanks. I would say your right there this would definitely have caught
> someone's attention if didn't work in practice with what kde needs.
> Santizers are by design quite pedantic as serves there purpose well.

I agree, the code is clearly wrong and it's unclear what it's trying to 
achieve here. Does anyone know what this is trying to do?

Qt::ConnectionType connectionType = static_cast<Qt::ConnectionType>(-1)

Should this maybe just be changed to use Qt::AutoConnection?

Thanks
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20230111/d90b7b06/attachment.sig>


More information about the kde-core-devel mailing list