diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-01-07 01:09:36 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-01-07 01:09:36 +0100 |
commit | f3b7919a534c8758c26836a81cf20ce49d045daa (patch) | |
tree | 1a8efec8e85de9f3b80a7e4d8fb45d2a37a33f41 /src/ui/UserProfile.cpp | |
parent | Merge pull request #1212 from ZhymabekRoman/master (diff) | |
download | nheko-f3b7919a534c8758c26836a81cf20ce49d045daa.tar.xz |
Fix crash in migrations during secrets deletion
We need to block the migrations returning until the migrations are done. Fixes #1258
Diffstat (limited to '')
-rw-r--r-- | src/ui/UserProfile.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp index cbeb1f4f..ca222d8b 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp @@ -38,7 +38,11 @@ UserProfile::UserProfile(const QString &roomid, this, &UserProfile::setGlobalUsername, Qt::QueuedConnection); - connect(this, &UserProfile::verificationStatiChanged, &UserProfile::updateVerificationStatus); + connect(this, + &UserProfile::verificationStatiChanged, + this, + &UserProfile::updateVerificationStatus, + Qt::QueuedConnection); if (isGlobalUserProfile()) { getGlobalProfileData(); |