link from hashed file is paste in edit window, not in sent messages (Patch from Phenom)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6609 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-08-25 20:24:47 +00:00
parent 4db4742f00
commit c007cb1051

View File

@ -824,15 +824,7 @@ void FriendsDialog::fileHashingFinished(QList<HashedFile> hashedFiles)
std::cerr << "FriendsDialog::fileHashingFinished mesgString : " << mesgString.toStdString() << std::endl; std::cerr << "FriendsDialog::fileHashingFinished mesgString : " << mesgString.toStdString() << std::endl;
#endif #endif
if (!mesgString.isEmpty()) { ui.lineEdit->insertHtml(mesgString);
/* convert to real html document */
QTextBrowser textBrowser;
textBrowser.setHtml(mesgString);
std::wstring msg = textBrowser.toHtml().toStdWString();
rsMsgs->sendPublicChat(msg);
setFont();
}
} }
bool FriendsDialog::fileSave() bool FriendsDialog::fileSave()