add space after quoting sign

This commit is contained in:
RetroPooh 2017-03-02 20:03:16 +03:00
parent fc0cfc0f2d
commit 328168d9a7
2 changed files with 6 additions and 6 deletions

View file

@ -1738,9 +1738,9 @@ void ChatWidget::quote()
if(text.length() > 0)
{
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);
text = sl.join("\n> ");
text.replace(QChar(-4)," ");//Char used when image on text.
emit ui->chatTextEdit->append(QString("> ") + text);
}
}