Skip to content

Commit 7dcae00

Browse files
author
jef
committedMay 10, 2010
fix ssl preprocessor logic
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13462 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6529,7 +6529,7 @@ void QgisApp::namSetup()
65296529
connect( nam, SIGNAL( proxyAuthenticationRequired( const QNetworkProxy &, QAuthenticator * ) ),
65306530
this, SLOT( namProxyAuthenticationRequired( const QNetworkProxy &, QAuthenticator * ) ) );
65316531

6532-
#ifdef QT_OPENSSL
6532+
#ifndef QT_NO_OPENSSL
65336533
connect( nam, SIGNAL( sslErrors( QNetworkReply *, const QList<QSslError> & ) ),
65346534
this, SLOT( namSslErrors( QNetworkReply *, const QList<QSslError> & ) ) );
65356535
#endif
@@ -6567,7 +6567,7 @@ void QgisApp::namProxyAuthenticationRequired( const QNetworkProxy &proxy, QAuthe
65676567
auth->setPassword( password );
65686568
}
65696569

6570-
#ifdef QT_OPENSSL
6570+
#ifndef QT_NO_OPENSSL
65716571
void QgisApp::namSslErrors( QNetworkReply *reply, const QList<QSslError> &errors )
65726572
{
65736573
QString msg = tr( "SSL errors occured accessing URL %1:" ).arg( reply->request().url().toString() );

‎src/app/qgisapp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ class QgisApp : public QMainWindow
404404
//! request credentials for network manager
405405
void namAuthenticationRequired( QNetworkReply *reply, QAuthenticator *auth );
406406
void namProxyAuthenticationRequired( const QNetworkProxy &proxy, QAuthenticator *auth );
407-
#ifdef QT_OPENSSL
407+
#ifndef QT_NO_OPENSSL
408408
void namSslErrors( QNetworkReply *reply, const QList<QSslError> &errors );
409409
#endif
410410

0 commit comments

Comments
 (0)
Please sign in to comment.