KGlobal::checkedConnect() (review request)

Robin Burchell viroteck at viroteck.net
Mon Apr 26 12:26:12 BST 2010


On Mon, Apr 26, 2010 at 12:13 PM, David Faure <faure at kde.org> wrote:
> Too many times, we don't notice the warning from Qt about
> a failed signal/slot connection, and we wonder much later why
> things don't work.

QObject::connect() issues a qWarning() if it can't connect.

Can you not use the QT_FATAL_WARNINGS environment variable[1] to get
the behaviour you want?

[1]: http://doc.qt.nokia.com/4.6/debug.html#warning-and-debugging-messages

<snip>
> --
> David Faure, faure at kde.org, http://www.davidfaure.fr
> Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
>

Robin Burchell
mob: +447702671419
msn: msn at viroteck.net
irc: w00t @ irc.freenode.net
twr: http://twitter.com/w00teh
lac: http://identi.ca/w00t




More information about the kde-core-devel mailing list