From f936bb899644c11cee7836d3521d745a3d00ea85 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 18 Oct 2010 11:29:55 +0000 Subject: [PATCH] Removed unnecessary call to RsForums::getForumMessage in ForumsDialog::insertThreads. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3680 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/ForumsDialog.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/retroshare-gui/src/gui/ForumsDialog.cpp b/retroshare-gui/src/gui/ForumsDialog.cpp index 1f5fae52e..fca53b1b1 100644 --- a/retroshare-gui/src/gui/ForumsDialog.cpp +++ b/retroshare-gui/src/gui/ForumsDialog.cpp @@ -983,15 +983,6 @@ void ForumsDialog::insertThreads() std::cerr << "ForumsDialog::insertThreads() Adding TopLevel Thread: mId: "; std::cerr << tit->msgId << std::endl; - /* add the top threads */ - ForumMsgInfo msg; - if (!rsForums->getForumMessage(fId, tit->threadId, msg)) - { - std::cerr << "ForumsDialog::insertThreads() Failed to Get TopLevel Msg"; - std::cerr << std::endl; - continue; - } - ForumMsgInfo msginfo; if (rsForums->getForumMessage(fId,tit->msgId,msginfo) == false) { std::cerr << "ForumsDialog::insertThreads() Failed to Get Msg";