Skip to content

Commit

Permalink
Remove call to set deprecated Qt::AA_X11InitThreads flag.
Browse files Browse the repository at this point in the history
According to the Qt 5.9 documentation, this value is obsolete and has
no effect.
  • Loading branch information
linuxdude42 committed Jun 18, 2020
1 parent 2cedcb9 commit bf2d503
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mythtv/libs/libmythui/mythdisplay.cpp
Expand Up @@ -1093,10 +1093,6 @@ void MythDisplay::ConfigureQtGUI(int SwapInterval)
setenv("QT_XCB_GL_INTEGRATION", "xcb_egl", 0);
}
}

// This makes Xlib calls thread-safe which seems to be required for hardware
// accelerated Flash playback to work without causing mythfrontend to abort.
QApplication::setAttribute(Qt::AA_X11InitThreads);
#endif
#ifdef Q_OS_ANDROID
//QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
Expand Down

0 comments on commit bf2d503

Please sign in to comment.