Fix crashes that can occur when selecting/copying text (#4153)
This commit is contained in:
@@ -442,7 +442,7 @@ int MessageLayout::getSelectionIndex(QPoint position)
|
||||
return this->container_->getSelectionIndex(position);
|
||||
}
|
||||
|
||||
void MessageLayout::addSelectionText(QString &str, int from, int to,
|
||||
void MessageLayout::addSelectionText(QString &str, uint32_t from, uint32_t to,
|
||||
CopyMode copymode)
|
||||
{
|
||||
this->container_->addSelectionText(str, from, to, copymode);
|
||||
|
||||
Reference in New Issue
Block a user