diff --git a/src/Application.cpp b/src/Application.cpp index 861cf68e..5b07774e 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -67,6 +67,9 @@ Application::Application(int& argc, char** argv) : QApplication::addLibraryPath(QApplication::applicationDirPath() + "/plugins"); #endif + // Work around a bug in QNetworkAccessManager which sporadically causes high pings for Wifi connections + // See https://bugreports.qt.io/browse/QTBUG-40332 + qputenv("QT_BEARER_POLL_TIMEOUT", QByteArray::number(INT_MAX)); // Parse command line QString fileToOpen;