fixed [No title] text in people

This commit is contained in:
csoler 2017-03-02 22:35:21 +01:00
parent 1e1fe7708f
commit cdb0c6e59e
2 changed files with 3 additions and 1 deletions

View File

@ -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) ;

View File

@ -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();