Initial round of Qt5 deprecation fixes

This commit is contained in:
Allan Bazinet
2024-08-31 09:40:28 -07:00
parent 64b25605b3
commit e377385bfa
30 changed files with 204 additions and 216 deletions

View File

@@ -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 ();