mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Fix Quote Lines With Image
When get text with image from toPlainText(), a (-4) char is inserted.
This commit is contained in:
parent
70bf938654
commit
1d2be232f0
3 changed files with 3 additions and 1 deletions
|
@ -1693,6 +1693,7 @@ void ChatWidget::quote()
|
|||
{
|
||||
QStringList sl = text.split(QRegExp("[\r\n]"),QString::SkipEmptyParts);
|
||||
text = sl.join("\n>");
|
||||
text.replace(QChar(-4),"");//Char used when image on text.
|
||||
emit ui->chatTextEdit->append(QString(">") + text);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue