Avoid using the QTBUG-80947 workaround on Qt 5.14.2 and later

This commit is contained in:
Cameron Gutman committed 2020-02-27 18:03:28 -08:00
1 parent 816cec8f5c
commit 4bb6f711b9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -456,7 +456,7 @@ NvHTTP::openConnection(QUrl baseUrl,
// Add our client certificate
request.setSslConfiguration(IdentityManager::get()->getSslConfig());
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && !defined(QT_NO_BEARERMANAGEMENT)
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && QT_VERSION < QT_VERSION_CHECK(5, 14, 2) && !defined(QT_NO_BEARERMANAGEMENT)
// HACK: Set network accessibility to work around QTBUG-80947
m_Nam.setNetworkAccessible(QNetworkAccessManager::Accessible);
#endif