Fixed unused paramater warning in download example.
Change-Id: I9688ff6a583591f04aa81bb2714c33fc02da77c7 Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
This commit is contained in:
parent
730dfc74d3
commit
b1f12913a6
@ -157,6 +157,8 @@ void DownloadManager::sslErrors(const QList<QSslError> &sslErrors)
|
|||||||
#ifndef QT_NO_SSL
|
#ifndef QT_NO_SSL
|
||||||
foreach (const QSslError &error, sslErrors)
|
foreach (const QSslError &error, sslErrors)
|
||||||
fprintf(stderr, "SSL error: %s\n", qPrintable(error.errorString()));
|
fprintf(stderr, "SSL error: %s\n", qPrintable(error.errorString()));
|
||||||
|
#else
|
||||||
|
Q_UNUSED(sslErrors);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user