* changend from toPlainText to toHtml

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@927 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-01-11 11:42:31 +00:00
parent bd02925ab1
commit f9dcdec18f

View File

@ -90,7 +90,7 @@ PopupChatDialog::PopupChatDialog(std::string id, std::string name,
statusBar()->showMessage(QString::fromStdString(statusstr.str()));
ui.textBrowser->setOpenExternalLinks ( false );
QString title = QString::fromStdString(name) + " :" + tr(" RetroShare - Chat") ;
QString title = QString::fromStdString(name) + " :" + tr(" RetroShare - Encrypted Chat") ;
setWindowTitle(title);
//set the default avatar
@ -472,7 +472,7 @@ void PopupChatDialog::smileyWidget()
void PopupChatDialog::addSmiley()
{
ui.chattextEdit->setText(ui.chattextEdit->toPlainText() + qobject_cast<QPushButton*>(sender())->toolTip().split("|").first());
ui.chattextEdit->setText(ui.chattextEdit->toHtml() + qobject_cast<QPushButton*>(sender())->toolTip().split("|").first());
}
QString PopupChatDialog::loadEmptyStyle()