[Qt-interest] checking the return value of connect
Thiago Macieira
thiago at kde.org
Fri Jul 8 10:13:14 CEST 2011
On Friday, 8 de July de 2011 12:58:33 Mandeep Sandhu wrote:
> I think it's always a good practice to check the return value of
> connect (unless you're absolutely sure it cannot fail). I've learned
> this the hard way as i could have saved a lot of debugging cycles!
Considering QObject::connect prints a warning when it can't connect, why were
you spending time searching for the problem before fixing the warning?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110708/d78ab2b8/attachment.bin
More information about the Qt-interest-old
mailing list