summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-14 19:33:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-14 19:33:27 +0200
commitb85584d51cd028ef9f2cad5aee021b32915b7752 (patch)
tree6680ed909af080f7958e01178152f86f30b3576e /facetracknoir/main.cpp
parent98a70e0e80e82f8bb0205d106c745cfa545e21a0 (diff)
Actually check for X11, not Unix
Diffstat (limited to 'facetracknoir/main.cpp')
-rw-r--r--facetracknoir/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index 4dc96603..d487de57 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -39,7 +39,7 @@ int main(int argc, char** argv)
{
#if defined(_WIN32)
(void) timeBeginPeriod(1);
-#elif defined(Q_OS_UNIX)
+#elif defined(Q_WS_X11)
XInitThreads();
#endif
QApplication app(argc, argv);