mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-14 13:01:53 +02:00
Use XInitThreads() on X11 to enable loading the visualizer module
This commit is contained in:
parent
ebf774c3ac
commit
d83c2c3c06
@ -37,6 +37,10 @@
|
||||
#ifdef WITH_BREAKPAD
|
||||
#include "breakpad/BreakPad.h"
|
||||
#endif
|
||||
|
||||
#ifdef Q_WS_X11 // This is probably a very bad idea with Qt5 anyway... because (if at all) X lives in a QPA plugin
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@ -138,6 +142,10 @@ main( int argc, char *argv[] )
|
||||
#endif // Q_WS_MAC
|
||||
#endif //Q_OS_WIN
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
XInitThreads();
|
||||
#endif
|
||||
|
||||
TomahawkApp a( argc, argv );
|
||||
|
||||
// MUST register StateHash ****before*** initing TomahawkSettingsGui as constructor of settings does upgrade before Gui subclass registers type
|
||||
|
Loading…
x
Reference in New Issue
Block a user