diff options
author | Jinhyung Jo <jinhyung.jo@samsung.com> | 2016-10-05 17:12:21 +0900 |
---|---|---|
committer | Jinhyung Jo <jinhyung.jo@samsung.com> | 2016-10-06 19:59:54 +0900 |
commit | 0326aed1c0adfa30a7ce647c1d43711a61d0b055 (patch) | |
tree | 9a68d9758aecb92a13ff6cf0e417f53f5fc4a8d2 | |
parent | 83b7cfac879b3acb26f9469ae31922b9f674ca7c (diff) | |
download | qemu-0326aed1c0adfa30a7ce647c1d43711a61d0b055.tar.gz qemu-0326aed1c0adfa30a7ce647c1d43711a61d0b055.tar.bz2 qemu-0326aed1c0adfa30a7ce647c1d43711a61d0b055.zip |
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 <jinhyung.jo@samsung.com>
-rw-r--r-- | tizen/src/ui/qt5_supplement.cpp | 11 |
1 files changed, 0 insertions, 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 |