From c007cb1051b7c8b822102e3acd60288e27b83f31 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 25 Aug 2013 20:24:47 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/FriendsDialog.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/retroshare-gui/src/gui/FriendsDialog.cpp b/retroshare-gui/src/gui/FriendsDialog.cpp index 13aa917a0..36469f0b5 100644 --- a/retroshare-gui/src/gui/FriendsDialog.cpp +++ b/retroshare-gui/src/gui/FriendsDialog.cpp @@ -824,15 +824,7 @@ void FriendsDialog::fileHashingFinished(QList hashedFiles) std::cerr << "FriendsDialog::fileHashingFinished mesgString : " << mesgString.toStdString() << std::endl; #endif - if (!mesgString.isEmpty()) { - /* convert to real html document */ - QTextBrowser textBrowser; - textBrowser.setHtml(mesgString); - std::wstring msg = textBrowser.toHtml().toStdWString(); - - rsMsgs->sendPublicChat(msg); - setFont(); - } + ui.lineEdit->insertHtml(mesgString); } bool FriendsDialog::fileSave()