From 73a6c374bd9233b2f1fd9696a69983bb3b7d5563 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 Sep 2014 04:20:20 +0200 Subject: Revert "initialize COM on _WIN32 as per Win32 API" This reverts commit 03e4d58bbbbfb5d841354a34a2e2dc317b189deb. Issue: #53 Ironically breaks Windows open/save dialogs --- facetracknoir/main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp index 694715d1..7462f8c2 100644 --- a/facetracknoir/main.cpp +++ b/facetracknoir/main.cpp @@ -2,16 +2,8 @@ #include #include -#ifdef _WIN32 -# include -#endif - int main(int argc, char** argv) { -#ifdef _WIN32 - CoInitializeEx(NULL, COINIT_MULTITHREADED); -#endif - QApplication::setAttribute(Qt::AA_X11InitThreads, true); QApplication app(argc, argv); auto w = std::make_shared(); -- cgit v1.2.3