projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replaced a Qt 4.4 function call so Quassel can compile with Qt 4.3 again
[quassel.git]
/
src
/
core
/
sslserver.h
diff --git
a/src/core/sslserver.h
b/src/core/sslserver.h
index
3dd5bd9
..
fdbecbf
100644
(file)
--- a/
src/core/sslserver.h
+++ b/
src/core/sslserver.h
@@
-21,10
+21,14
@@
#ifndef SSLSERVER_H
#define SSLSERVER_H
#ifndef SSLSERVER_H
#define SSLSERVER_H
+#ifndef QT_NO_OPENSSL
+# include <QSslCertificate>
+# include <QSslKey>
#include <QTcpServer>
#include <QLinkedList>
#include <QTcpServer>
#include <QLinkedList>
-#include <QSslCertificate>
-#include <QSslKey>
+#endif
+
+#ifndef QT_NO_OPENSSL
class SslServer : public QTcpServer {
Q_OBJECT
class SslServer : public QTcpServer {
Q_OBJECT
@@
-49,4
+53,6
@@
private:
bool _certIsValid;
};
bool _certIsValid;
};
+#endif //QT_NO_OPENSSL
+
#endif //SSLSERVER_H
#endif //SSLSERVER_H