projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6b164
)
Socket options require Qt 4.6+
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 13 Jan 2014 23:35:33 +0000
(
00:35
+0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 13 Jan 2014 23:35:33 +0000
(
00:35
+0100)
src/core/corenetwork.cpp
patch
|
blob
|
history
diff --git
a/src/core/corenetwork.cpp
b/src/core/corenetwork.cpp
index
206b019
..
3fd0a1a
100644
(file)
--- a/
src/core/corenetwork.cpp
+++ b/
src/core/corenetwork.cpp
@@
-438,9
+438,9
@@
void CoreNetwork::socketInitialized()
if (server.useSsl && !socket.isEncrypted())
return;
#endif
-
+#if QT_VERSION >= 0x040600
socket.setSocketOption(QAbstractSocket::KeepAliveOption, true);
-
+#endif
CoreIdentity *identity = identityPtr();
if (!identity) {
qCritical() << "Identity invalid!";