From 13ed00e2fa661009075122b5a2659b91c8fc9a01 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 9 Sep 2016 22:44:32 +0200 Subject: compat/win32-com: switch to always apartment threaded --- compat/win32-com.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compat') diff --git a/compat/win32-com.cpp b/compat/win32-com.cpp index 7bebc500..b782e3a7 100644 --- a/compat/win32-com.cpp +++ b/compat/win32-com.cpp @@ -20,7 +20,8 @@ bool OPENTRACK_COMPAT_EXPORT init_com_threading(com_type t_) if (qApp->thread() == QThread::currentThread()) return com_apartment; else - return com_multithreaded; + //return com_multithreaded; + return com_apartment; ); HRESULT ret = CoInitializeEx(0, t); -- cgit v1.2.3