Always create IdentityManager on the main thread

This commit is contained in:
Cameron Gutman 2020-01-25 19:34:17 -08:00
parent 58313ad8fc
commit 5b6142e2d9

View file

@ -431,6 +431,9 @@ int main(int argc, char *argv[])
return new StreamingPreferences(); return new StreamingPreferences();
}); });
// Create the identity manager on the main thread
IdentityManager::get();
#ifndef Q_OS_WINRT #ifndef Q_OS_WINRT
// Use the dense material dark theme by default // Use the dense material dark theme by default
if (!qEnvironmentVariableIsSet("QT_QUICK_CONTROLS_STYLE")) { if (!qEnvironmentVariableIsSet("QT_QUICK_CONTROLS_STYLE")) {