From: Jinhyung Jo Date: Wed, 5 Oct 2016 08:12:21 +0000 (+0900) Subject: display: remove Qt::AA_X11InitThreads attribute X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~22^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0326aed1c0adfa30a7ce647c1d43711a61d0b055;p=sdk%2Femulator%2Fqemu.git display: remove Qt::AA_X11InitThreads attribute The Qt::AA_X11InitThreads attribute is obsolete and has no effect. Change-Id: I6b0373b08e80b056f7f2a49700f4e07ade366a42 Signed-off-by: Jinhyung Jo --- diff --git a/tizen/src/ui/qt5_supplement.cpp b/tizen/src/ui/qt5_supplement.cpp index 00dec85f97..81202fe124 100644 --- a/tizen/src/ui/qt5_supplement.cpp +++ b/tizen/src/ui/qt5_supplement.cpp @@ -455,17 +455,6 @@ void qt5_early_prepare(bool isOnscreen) Q_INIT_RESOURCE(resource); -#ifdef CONFIG_LINUX - /* QGLWidget threading: Note that under X11 it is necessary to set the - * Qt::AA_X11InitThreads application attribute to make the X11 library - * and GLX calls thread safe, otherwise the above scenarios will fail. */ - - /* Calls XInitThreads() as part of the QApplication construction in order - * to make Xlib calls thread-safe. This attribute must be set before - * QApplication is constructed. */ - QCoreApplication::setAttribute(Qt::AA_X11InitThreads); -#endif - qt5App = new QApplication(argc, argv); /* add the path in the application's main() function, right after the