mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 09:11:06 -04:00
Fixed some more utf8 handling in the GUI.
Optimized creation of the RetroShare links for forum and channel messages. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4194 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
dd457e15c7
commit
0619463948
16 changed files with 73 additions and 48 deletions
|
@ -1425,7 +1425,7 @@ void ForumsDialog::copyForumLink()
|
|||
ForumInfo fi;
|
||||
if (rsForums->getForumInfo(mCurrForumId, fi)) {
|
||||
RetroShareLink link;
|
||||
if (link.createForum(QString::fromStdWString(fi.forumName), QString::fromStdString(fi.forumId), "")) {
|
||||
if (link.createForum(fi.forumId, "")) {
|
||||
std::vector<RetroShareLink> urls;
|
||||
urls.push_back(link);
|
||||
RSLinkClipboard::copyLinks(urls);
|
||||
|
@ -1442,7 +1442,7 @@ void ForumsDialog::copyMessageLink()
|
|||
ForumInfo fi;
|
||||
if (rsForums->getForumInfo(mCurrForumId, fi)) {
|
||||
RetroShareLink link;
|
||||
if (link.createForum(QString::fromStdWString(fi.forumName), QString::fromStdString(mCurrForumId), QString::fromStdString(mCurrThreadId))) {
|
||||
if (link.createForum(mCurrForumId, mCurrThreadId)) {
|
||||
std::vector<RetroShareLink> urls;
|
||||
urls.push_back(link);
|
||||
RSLinkClipboard::copyLinks(urls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue