#4132 Disable Qt Bearer management
This commit is contained in:
parent
54632e2ceb
commit
bb726e6deb
|
@ -32,7 +32,10 @@
|
||||||
|
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef Q_OS_DARWIN
|
||||||
|
#include <cstdlib>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class QThreadImpl : public QThread
|
class QThreadImpl : public QThread
|
||||||
|
@ -52,6 +55,10 @@ bool checkMacAssistiveDevices();
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
#ifdef Q_OS_DARWIN
|
||||||
|
/* Workaround for QTBUG-40332 - "High ping when QNetworkAccessManager is instantiated" */
|
||||||
|
::setenv ("QT_BEARER_POLL_TIMEOUT", "-1", 1);
|
||||||
|
#endif
|
||||||
QCoreApplication::setOrganizationName("Synergy");
|
QCoreApplication::setOrganizationName("Synergy");
|
||||||
QCoreApplication::setOrganizationDomain("http://symless.com/");
|
QCoreApplication::setOrganizationDomain("http://symless.com/");
|
||||||
QCoreApplication::setApplicationName("Synergy");
|
QCoreApplication::setApplicationName("Synergy");
|
||||||
|
|
Loading…
Reference in New Issue