mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
remove signals blocking
This commit is contained in:
parent
fb1a2037e3
commit
fae5cd22f0
1 changed files with 0 additions and 2 deletions
|
@ -163,7 +163,6 @@ void AvatarBookmarks::loadBookmark(const QString& bookmarkName) {
|
|||
QVariantMap bookmark = bookmarkEntry.value().toMap();
|
||||
if (!bookmark.empty()) {
|
||||
auto myAvatar = DependencyManager::get<AvatarManager>()->getMyAvatar();
|
||||
myAvatar->blockSignals(true);
|
||||
myAvatar->removeAvatarEntities();
|
||||
const QString& avatarUrl = bookmark.value(ENTRY_AVATAR_URL, "").toString();
|
||||
myAvatar->useFullAvatarURL(avatarUrl);
|
||||
|
@ -178,7 +177,6 @@ void AvatarBookmarks::loadBookmark(const QString& bookmarkName) {
|
|||
|
||||
const QVariantList& avatarEntities = bookmark.value(ENTRY_AVATAR_ENTITIES, QVariantList()).toList();
|
||||
addAvatarEntities(avatarEntities);
|
||||
myAvatar->blockSignals(false);
|
||||
|
||||
emit bookmarkLoaded(bookmarkName);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue