mirror of
https://github.com/js8call/js8call.git
synced 2025-12-24 02:00:16 +00:00
Initial round of Qt5 deprecation fixes
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user