mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(login): fix a crash when many dialogs are open
This commit is contained in:
parent
8a210d524b
commit
c37a05f40c
|
@ -158,6 +158,8 @@ int Nexus::showLogin(const QString& profileName)
|
|||
LoginScreen loginScreen{profileName};
|
||||
connectLoginScreen(loginScreen);
|
||||
|
||||
QCoreApplication::sendPostedEvents(nullptr, QEvent::DeferredDelete);
|
||||
|
||||
// TODO(kriby): Move core out of profile
|
||||
// This is awkward because the core is in the profile
|
||||
// The connection order ensures profile will be ready for bootstrap for now
|
||||
|
|
Loading…
Reference in New Issue
Block a user