mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
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:
parent
f4635b92c3
commit
2efa6b5b06
7 changed files with 519 additions and 355 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue