summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-09 22:44:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-09 22:44:32 +0200
commit13ed00e2fa661009075122b5a2659b91c8fc9a01 (patch)
treebb92e4fb0a9ede5ec0763a3a974c02d1062e2d0c
parentb0444b30957fe80b06d4129548cbd98442a4b02e (diff)
compat/win32-com: switch to always apartment threaded
-rw-r--r--compat/win32-com.cpp3
1 files changed, 2 insertions, 1 deletions
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);