Fix crashes that can occur when selecting/copying text (#4153)
This commit is contained in:
@@ -81,7 +81,8 @@ struct MessageLayoutContainer {
|
||||
int getSelectionIndex(QPoint point);
|
||||
int getLastCharacterIndex() const;
|
||||
int getFirstMessageCharacterIndex() const;
|
||||
void addSelectionText(QString &str, int from, int to, CopyMode copymode);
|
||||
void addSelectionText(QString &str, uint32_t from, uint32_t to,
|
||||
CopyMode copymode);
|
||||
|
||||
bool isCollapsed();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user