Move setupConnections() before setupWidget(). Fixes Bug #1285836.