From 2a45ebde3333e4ab3fcffd92f62568155d92bb27 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Tue, 12 May 2015 17:19:17 +0200 Subject: [PATCH] Networkjobs: Fix Qt 4 compile (again) --- src/libsync/networkjobs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libsync/networkjobs.cpp b/src/libsync/networkjobs.cpp index bfd65ee55f..8cba118ed5 100644 --- a/src/libsync/networkjobs.cpp +++ b/src/libsync/networkjobs.cpp @@ -595,10 +595,12 @@ bool CheckServerJob::finished() { account()->setSslConfiguration(reply()->sslConfiguration()); +#if QT_VERSION > QT_VERSION_CHECK(5, 2, 0) if (reply()->request().url().scheme() == QLatin1String("https") && reply()->sslConfiguration().sessionTicket().isEmpty()) { qDebug() << "No SSL session identifier / session ticket is used, this might impact sync performance negatively."; } +#endif // The serverInstalls to /owncloud. Let's try that if the file wasn't found // at the original location