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