mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
4db4742f00
commit
c007cb1051
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user