mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix ssl preprocessor logic
git-svn-id: http://svn.osgeo.org/qgis/trunk@13462 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
4b9ca010fd
commit
81fc99f756
@ -6529,7 +6529,7 @@ void QgisApp::namSetup()
|
||||
connect( nam, SIGNAL( proxyAuthenticationRequired( const QNetworkProxy &, QAuthenticator * ) ),
|
||||
this, SLOT( namProxyAuthenticationRequired( const QNetworkProxy &, QAuthenticator * ) ) );
|
||||
|
||||
#ifdef QT_OPENSSL
|
||||
#ifndef QT_NO_OPENSSL
|
||||
connect( nam, SIGNAL( sslErrors( QNetworkReply *, const QList<QSslError> & ) ),
|
||||
this, SLOT( namSslErrors( QNetworkReply *, const QList<QSslError> & ) ) );
|
||||
#endif
|
||||
@ -6567,7 +6567,7 @@ void QgisApp::namProxyAuthenticationRequired( const QNetworkProxy &proxy, QAuthe
|
||||
auth->setPassword( password );
|
||||
}
|
||||
|
||||
#ifdef QT_OPENSSL
|
||||
#ifndef QT_NO_OPENSSL
|
||||
void QgisApp::namSslErrors( QNetworkReply *reply, const QList<QSslError> &errors )
|
||||
{
|
||||
QString msg = tr( "SSL errors occured accessing URL %1:" ).arg( reply->request().url().toString() );
|
||||
|
@ -404,7 +404,7 @@ class QgisApp : public QMainWindow
|
||||
//! request credentials for network manager
|
||||
void namAuthenticationRequired( QNetworkReply *reply, QAuthenticator *auth );
|
||||
void namProxyAuthenticationRequired( const QNetworkProxy &proxy, QAuthenticator *auth );
|
||||
#ifdef QT_OPENSSL
|
||||
#ifndef QT_NO_OPENSSL
|
||||
void namSslErrors( QNetworkReply *reply, const QList<QSslError> &errors );
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user