summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);