From cdb0c6e59ee2173045b9d12d1c7bae9b1d5a8750 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 2 Mar 2017 22:35:21 +0100 Subject: [PATCH] fixed [No title] text in people --- retroshare-gui/src/gui/Identity/IdDialog.cpp | 2 ++ retroshare-gui/src/gui/common/RSTreeWidget.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/Identity/IdDialog.cpp b/retroshare-gui/src/gui/Identity/IdDialog.cpp index 7ebd0df9d..ff0788ab0 100644 --- a/retroshare-gui/src/gui/Identity/IdDialog.cpp +++ b/retroshare-gui/src/gui/Identity/IdDialog.cpp @@ -309,6 +309,8 @@ IdDialog::IdDialog(QWidget *parent) : QString headerText = headerItem->text(RSID_COL_NICKNAME); ui->filterLineEdit->addFilter(QIcon(), headerText, RSID_COL_NICKNAME, QString("%1 %2").arg(tr("Search"), headerText)); + headerItem->setData(RSID_COL_VOTES,Qt::UserRole,tr("Reputation")); + /* Set initial section sizes */ QHeaderView * circlesheader = ui->treeWidget_membership->header () ; circlesheader->resizeSection (CIRCLEGROUP_CIRCLE_COL_GROUPNAME, QFontMetricsF(ui->idTreeWidget->font()).width("Circle name")*1.5) ; diff --git a/retroshare-gui/src/gui/common/RSTreeWidget.cpp b/retroshare-gui/src/gui/common/RSTreeWidget.cpp index 89e593648..a261bff80 100644 --- a/retroshare-gui/src/gui/common/RSTreeWidget.cpp +++ b/retroshare-gui/src/gui/common/RSTreeWidget.cpp @@ -213,7 +213,7 @@ QMenu *RSTreeWidget::createStandardContextMenu(QMenu *contextMenu) } if (mEnableColumnCustomize) { - QMenu *headerMenu = contextMenu->addMenu(QIcon(),tr("Show Headers")); + QMenu *headerMenu = contextMenu->addMenu(QIcon(),tr("Show column...")); QTreeWidgetItem *item = headerItem(); int columnCount = item->columnCount();