fixed forgetten tooltip

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1963 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-02 17:31:43 +00:00
parent 628000480b
commit 03cbedb224

View File

@ -333,9 +333,8 @@ void ForumsDialog::insertForums()
{ {
std::ostringstream out; std::ostringstream out;
out << it->pop; out << it->pop;
item -> setText(0,tr("Popularity: ") + QString::fromStdString(out.str())); item -> setToolTip(0, tr("Popularity: ") + QString::fromStdString(out.str()));
} }
//item -> setText(2, QString::fromStdWString(it->forumName));
// Date // Date
{ {
@ -380,7 +379,6 @@ void ForumsDialog::insertForums()
out << it->pop; out << it->pop;
item -> setToolTip(0, tr("Popularity: ") + QString::fromStdString(out.str())); item -> setToolTip(0, tr("Popularity: ") + QString::fromStdString(out.str()));
} }
//item -> setText(2, QString::fromStdWString(it->forumName));
// Date // Date
{ {
@ -431,6 +429,8 @@ void ForumsDialog::insertForums()
} }
else else
{ {
/* popular forum */
/* Name, /* Name,
* Type, * Type,
* Rank, * Rank,
@ -460,7 +460,6 @@ void ForumsDialog::insertForums()
out << it->pop; out << it->pop;
item -> setToolTip(0, tr("Popularity: ") + QString::fromStdString(out.str())); item -> setToolTip(0, tr("Popularity: ") + QString::fromStdString(out.str()));
} }
//item -> setText(2, QString::fromStdWString(it->forumName));
// Date // Date
{ {