Prevent crash in SyntaxHighlighter when leaving room
BUG: 467722
(cherry picked from commit 014185c4c9)
This commit is contained in:
@@ -76,7 +76,7 @@ private:
|
|||||||
|
|
||||||
QQuickTextDocument *m_document;
|
QQuickTextDocument *m_document;
|
||||||
|
|
||||||
NeoChatRoom *m_room = nullptr;
|
QPointer<NeoChatRoom> m_room;
|
||||||
bool completionVisible = false;
|
bool completionVisible = false;
|
||||||
|
|
||||||
int m_cursorPosition;
|
int m_cursorPosition;
|
||||||
|
|||||||
Reference in New Issue
Block a user