Improve performance of the emoji model

Only display up to 10 emojis when searching

Related to #310 but a better solution needs to be found because we get
the same problem on big room when autocompleting usernames.
This commit is contained in:
Carl Schwan
2021-03-20 15:32:33 +01:00
parent 743c9972b9
commit 603d4e1f0d
7 changed files with 31 additions and 10 deletions

View File

@@ -25,6 +25,5 @@ QQC2.Popup {
contentItem: EmojiPicker {
onChosen: react(emoji)
emojiModel: EmojiModel {}
}
}