TextEditor: fix leaking TextSuggestion

Change-Id: I6f8b27e339219880cf9ade42a1e70e6dafb625b1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
David Schulz
2023-04-13 08:06:51 +02:00
parent f773c09f33
commit 8a0b3815df

View File

@@ -357,7 +357,7 @@ TextSuggestion *TextBlockUserData::suggestion() const
void TextBlockUserData::clearSuggestion()
{
m_suggestion.release();
m_suggestion.reset();
}
void TextBlockUserData::addMark(TextMark *mark)