summaryrefslogtreecommitdiff
path: root/DisplayManual.cpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2020-06-26 09:28:37 +0200
committerChristoph Berg <christoph.berg@credativ.de>2020-06-26 09:28:37 +0200
commit28f34ff4908a90b1a7323b2988c33cdb1779fa06 (patch)
tree441994b458ea44a1c1019a365d4ec379c34da04f /DisplayManual.cpp
parentee0e1a654b7e64accea78a5aa66ec1e62bd352c8 (diff)
New upstream version 2.2.2+repackupstream/2.2.2+repack
Diffstat (limited to 'DisplayManual.cpp')
-rw-r--r--DisplayManual.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/DisplayManual.cpp b/DisplayManual.cpp
index 155c2200..c5b9021b 100644
--- a/DisplayManual.cpp
+++ b/DisplayManual.cpp
@@ -49,10 +49,12 @@ public:
void display (QUrl const& url, QString const& name_we)
{
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
if (QNetworkAccessManager::Accessible != qnam_->networkAccessible ()) {
// try and recover network access for QNAM
qnam_->setNetworkAccessible (QNetworkAccessManager::Accessible);
}
+#endif
// try and find a localized manual
auto lang = QLocale::system ().name ();