diff options
-rw-r--r-- | facetracknoir/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp index 36bccfad..58357f42 100644 --- a/facetracknoir/main.cpp +++ b/facetracknoir/main.cpp @@ -57,14 +57,13 @@ int main(int argc, char** argv) #ifdef OPENTRACK_BREAKPAD auto handler = new ExceptionHandler(L".", nullptr, dumpCallback, nullptr, -1); #endif - + QApplication::setAttribute(Qt::AA_X11InitThreads, true); QApplication app(argc, argv); QFont font; font.setFamily(font.defaultFamily()); font.setPointSize(10); font.setPixelSize(10*4/3); QApplication::setFont(font); - QApplication::setAttribute(Qt::AA_X11InitThreads, true); FaceTrackNoIR w; QDesktopWidget desktop; |