Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2019-10-14 12:52:25 +0300
committerOlivier Goffart <olivier@woboq.com>2019-10-28 13:17:00 +0300
commit318b6b00d8f3755639e2c199cc05524a91ae5258 (patch)
tree5e485d8a71e245de36026a8de1dca6f57ca60e62 /src/gui/connectionvalidator.cpp
parent5a282cdcbe6f92a465a907da601313f18e1401dd (diff)
Qt 5.12 is now the required minimal Qt version
Diffstat (limited to 'src/gui/connectionvalidator.cpp')
-rw-r--r--src/gui/connectionvalidator.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/connectionvalidator.cpp b/src/gui/connectionvalidator.cpp
index 2b467a18e..cb0721610 100644
--- a/src/gui/connectionvalidator.cpp
+++ b/src/gui/connectionvalidator.cpp
@@ -293,7 +293,6 @@ bool ConnectionValidator::setAndCheckServerVersion(const QString &version)
// We attempt to work with servers >= 7.0.0 but warn users.
// Check usages of Account::serverVersionUnsupported() for details.
-#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
// Record that the server supports HTTP/2
// Actual decision if we should use HTTP/2 is done in AccessManager::createRequest
if (auto job = qobject_cast<AbstractNetworkJob *>(sender())) {
@@ -302,7 +301,6 @@ bool ConnectionValidator::setAndCheckServerVersion(const QString &version)
reply->attribute(QNetworkRequest::HTTP2WasUsedAttribute).toBool());
}
}
-#endif
return true;
}