summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-18 04:20:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-18 04:20:20 +0200
commit73a6c374bd9233b2f1fd9696a69983bb3b7d5563 (patch)
tree8dd3307b724717e51a3d5f7e4279e0bfd826520e
parent448d4dfaaaa6c055a91eb97b3e39e35ce2cba30f (diff)
Revert "initialize COM on _WIN32 as per Win32 API"
This reverts commit 03e4d58bbbbfb5d841354a34a2e2dc317b189deb. Issue: #53 Ironically breaks Windows open/save dialogs
-rw-r--r--facetracknoir/main.cpp8
1 files changed, 0 insertions, 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 <QApplication>
#include <memory>
-#ifdef _WIN32
-# include <objbase.h>
-#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<FaceTrackNoIR>();