Networkjobs: Fix Qt 4 compile (again)

This commit is contained in:
Markus Goetz 2015-05-12 17:19:17 +02:00
parent 00a075b0d8
commit 2a45ebde33

View File

@ -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