From 28de9f1d4890bf85ade08feb68f7c16a27172905 Mon Sep 17 00:00:00 2001 From: Patrick Huebner Date: Fri, 15 Nov 2013 21:03:03 +1100 Subject: [PATCH] OP-1114 Bug fix for QGLWidget mouse click issue --- ground/openpilotgcs/src/app/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ground/openpilotgcs/src/app/main.cpp b/ground/openpilotgcs/src/app/main.cpp index da2c39bc9..e976375b3 100644 --- a/ground/openpilotgcs/src/app/main.cpp +++ b/ground/openpilotgcs/src/app/main.cpp @@ -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);