From 03cbedb224c8084ee039284651726dc3b24412fe Mon Sep 17 00:00:00 2001 From: defnax Date: Sat, 2 Jan 2010 17:31:43 +0000 Subject: [PATCH] fixed forgetten tooltip git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1963 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/ForumsDialog.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/retroshare-gui/src/gui/ForumsDialog.cpp b/retroshare-gui/src/gui/ForumsDialog.cpp index 0ded1faec..dfeae7151 100644 --- a/retroshare-gui/src/gui/ForumsDialog.cpp +++ b/retroshare-gui/src/gui/ForumsDialog.cpp @@ -333,9 +333,8 @@ void ForumsDialog::insertForums() { std::ostringstream out; 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 { @@ -380,7 +379,6 @@ void ForumsDialog::insertForums() out << it->pop; item -> setToolTip(0, tr("Popularity: ") + QString::fromStdString(out.str())); } - //item -> setText(2, QString::fromStdWString(it->forumName)); // Date { @@ -431,6 +429,8 @@ void ForumsDialog::insertForums() } else { + /* popular forum */ + /* Name, * Type, * Rank, @@ -460,7 +460,6 @@ void ForumsDialog::insertForums() out << it->pop; item -> setToolTip(0, tr("Popularity: ") + QString::fromStdString(out.str())); } - //item -> setText(2, QString::fromStdWString(it->forumName)); // Date {