mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Refactor: move methods under the same #if section.
This commit is contained in:
parent
7f346b49a7
commit
d1ee54f6ea
2 changed files with 31 additions and 31 deletions
|
@ -34,6 +34,7 @@
|
|||
#define HTTP_SERVER_H
|
||||
|
||||
#include <QTcpServer>
|
||||
|
||||
#ifndef QT_NO_OPENSSL
|
||||
#include <QSslCertificate>
|
||||
#include <QSslCipher>
|
||||
|
@ -60,12 +61,13 @@ namespace Http
|
|||
#endif
|
||||
|
||||
private:
|
||||
IRequestHandler *m_requestHandler;
|
||||
|
||||
void incomingConnection(qintptr socketDescriptor);
|
||||
|
||||
IRequestHandler *m_requestHandler;
|
||||
|
||||
#ifndef QT_NO_OPENSSL
|
||||
QList<QSslCipher> safeCipherList() const;
|
||||
|
||||
bool m_https;
|
||||
QList<QSslCertificate> m_certificates;
|
||||
QSslKey m_key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue