From cf5a1a5a85f13f3c13ac8e7dbc662e18749fdafb Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 14 Sep 2016 08:15:31 +0200 Subject: [PATCH] Fixed: Browse buttons were freezing the application, see #279 --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/main.cpp b/code/ryzom/tools/client/ryzom_installer/src/main.cpp index 6a9662c4f..4658a3b99 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/main.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/main.cpp @@ -86,6 +86,11 @@ int main(int argc, char *argv[]) _CrtSetDbgFlag (_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); #endif +#ifdef Q_OS_WIN + // to fix the bug with QFileDialog::getExistingDirectory hanging under Windows + CoInitialize(NULL); +#endif + NLMISC::CApplicationContext appContext; QApplication app(argc, argv);