X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.cpp;h=3fd0a1a70431242c5f8c5b998ad657642ef87c53;hp=206b0194bd7a0d253e47248fac6ae8f80c63f641;hb=bb6f47baf3c9fe605db67de9ff6ca5b3f50d02e3;hpb=ac6b164b8b758deff3ebc3946177988e6d72ca9a diff --git a/src/core/corenetwork.cpp b/src/core/corenetwork.cpp index 206b0194..3fd0a1a7 100644 --- 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!";