1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-1114 Bug fix for QGLWidget mouse click issue

This commit is contained in:
Patrick Huebner 2013-11-15 21:03:03 +11:00
parent ac1e03e9f0
commit 28de9f1d48

View File

@ -281,6 +281,7 @@ void systemInit()
getrlimit(RLIMIT_NOFILE, &rl);
rl.rlim_cur = rl.rlim_max;
setrlimit(RLIMIT_NOFILE, &rl);
QApplication::setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true);
#endif
#ifdef Q_OS_LINUX
QApplication::setAttribute(Qt::AA_X11InitThreads, true);