mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Work around a bug in Qt which causes high pings for Wifi connections
See issue #1209.
This commit is contained in:
@@ -67,6 +67,9 @@ Application::Application(int& argc, char** argv) :
|
|||||||
QApplication::addLibraryPath(QApplication::applicationDirPath() + "/plugins");
|
QApplication::addLibraryPath(QApplication::applicationDirPath() + "/plugins");
|
||||||
#endif
|
#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
|
// Parse command line
|
||||||
QString fileToOpen;
|
QString fileToOpen;
|
||||||
|
|||||||
Reference in New Issue
Block a user