mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
Who needs consistency anyway. Changed to check if QT_NO_OPENSSL is not defined instead.
This commit is contained in:
@@ -68,7 +68,7 @@ posting events. It is reentrant for all other functionality.
|
||||
#include <QThread>
|
||||
#include <qxtmetaobject.h>
|
||||
#include <QTcpSocket>
|
||||
#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL)
|
||||
#if defined(QT_SECURETRANSPORT) || !defined(QT_NO_OPENSSL)
|
||||
#include <QSslSocket>
|
||||
#endif
|
||||
|
||||
@@ -437,7 +437,7 @@ void QxtHttpSessionManager::incomingRequest(quint32 requestID, const QHttpReques
|
||||
if (socket)
|
||||
{
|
||||
event->remoteAddress = socket->peerAddress();
|
||||
#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL)
|
||||
#if defined(QT_SECURETRANSPORT) || !defined(QT_NO_OPENSSL)
|
||||
QSslSocket* sslSocket = qobject_cast<QSslSocket*>(socket);
|
||||
if(sslSocket) {
|
||||
event->isSecure = true;
|
||||
|
Reference in New Issue
Block a user