Add workaround for QTBUG-80947
This commit is contained in:
parent
626f0aec6a
commit
8e6e70683e
2 changed files with 6 additions and 0 deletions
|
|
@ -29,6 +29,9 @@ AutoUpdateChecker::AutoUpdateChecker(QObject *parent) :
|
|||
void AutoUpdateChecker::start()
|
||||
{
|
||||
#if defined(Q_OS_WIN32) || defined(Q_OS_DARWIN) || defined(STEAM_LINK) // Only run update checker on platforms without auto-update
|
||||
// HACK: Set network accessibility to work around QTBUG-80947
|
||||
m_Nam.setNetworkAccessible(QNetworkAccessManager::Accessible);
|
||||
|
||||
// We'll get a callback when this is finished
|
||||
QUrl url("https://moonlight-stream.org/updates/qt.json");
|
||||
m_Nam.get(QNetworkRequest(url));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue