From 0326aed1c0adfa30a7ce647c1d43711a61d0b055 Mon Sep 17 00:00:00 2001 From: Jinhyung Jo Date: Wed, 5 Oct 2016 17:12:21 +0900 Subject: [PATCH] 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 --- tizen/src/ui/qt5_supplement.cpp | 11 ----------- 1 file changed, 11 deletions(-) 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 -- 2.34.1