From b85584d51cd028ef9f2cad5aee021b32915b7752 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 14 Sep 2013 19:33:27 +0200 Subject: Actually check for X11, not Unix --- facetracknoir/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'facetracknoir') 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); -- cgit v1.2.3