From eda47922d9bd6d10e4e2fb3d3191edfaa126aef5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 12 Aug 2016 17:03:51 +0200 Subject: few: use existing com threading init function --- gui/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui') diff --git a/gui/main.cpp b/gui/main.cpp index eb040337..a9252c4d 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -10,6 +10,7 @@ #include "main-window.hpp" #include "opentrack-compat/options.hpp" +#include "opentrack-compat/win32-com.hpp" using namespace options; #include #include @@ -111,6 +112,7 @@ static void add_program_library_path() int main(int argc, char** argv) { #ifdef _WIN32 + init_com_threading(com_apartment); add_program_library_path(); #elif !defined(__linux) // workaround QTBUG-38598 -- cgit v1.2.3