mirror of https://github.com/debauchee/barrier.git
#4132 Disable Qt Bearer management
This commit is contained in:
parent
54632e2ceb
commit
bb726e6deb
|
@ -32,7 +32,10 @@
|
|||
|
||||
#if defined(Q_OS_MAC)
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_DARWIN
|
||||
#include <cstdlib>
|
||||
#endif
|
||||
|
||||
class QThreadImpl : public QThread
|
||||
|
@ -52,6 +55,10 @@ bool checkMacAssistiveDevices();
|
|||
|
||||
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::setOrganizationDomain("http://symless.com/");
|
||||
QCoreApplication::setApplicationName("Synergy");
|
||||
|
|
Loading…
Reference in New Issue