Moved the fill function of the ForumsDialog to a QThread.

Fixed memory leak of the fill thread of the history browser.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4240 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-06-07 22:28:07 +00:00
parent f4635b92c3
commit 2efa6b5b06
7 changed files with 519 additions and 355 deletions

View file

@ -149,7 +149,7 @@ static void embedHtml(QDomDocument& doc, QDomElement& currentElement, EmbedInHtm
QString formatText(const QString &text, unsigned int flag)
{
if (flag == 0) {
if (flag == 0 || text.isEmpty()) {
// nothing to do
return text;
}