Fixed "No such signal" error in download example output.
authorMitch Curtis <mitch.curtis@nokia.com>
Fri, 18 May 2012 13:42:00 +0000 (15:42 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 22 May 2012 08:27:46 +0000 (10:27 +0200)
commit730dfc74d3e679505fe976e6be6470215e921565
tree419ca586407681f39a128c24cfb4df03c6225af5
parent083af3c31948d47c066f2786c9f7dd2faf82d290
Fixed "No such signal" error in download example output.

The signal sslErrors is not defined by QNetworkReply when QT_NO_SSL
is undefined. The solution was to add the an ifndef guard around the
call to connect so that the signal is only used when it is defined.

Change-Id: I9f104ec630ed448af65669b0861df233de5172ac
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
examples/network/download/main.cpp