mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -05:00
fixed [No title] text in people
This commit is contained in:
parent
1e1fe7708f
commit
cdb0c6e59e
@ -309,6 +309,8 @@ IdDialog::IdDialog(QWidget *parent) :
|
|||||||
QString headerText = headerItem->text(RSID_COL_NICKNAME);
|
QString headerText = headerItem->text(RSID_COL_NICKNAME);
|
||||||
ui->filterLineEdit->addFilter(QIcon(), headerText, RSID_COL_NICKNAME, QString("%1 %2").arg(tr("Search"), headerText));
|
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 */
|
/* Set initial section sizes */
|
||||||
QHeaderView * circlesheader = ui->treeWidget_membership->header () ;
|
QHeaderView * circlesheader = ui->treeWidget_membership->header () ;
|
||||||
circlesheader->resizeSection (CIRCLEGROUP_CIRCLE_COL_GROUPNAME, QFontMetricsF(ui->idTreeWidget->font()).width("Circle name")*1.5) ;
|
circlesheader->resizeSection (CIRCLEGROUP_CIRCLE_COL_GROUPNAME, QFontMetricsF(ui->idTreeWidget->font()).width("Circle name")*1.5) ;
|
||||||
|
@ -213,7 +213,7 @@ QMenu *RSTreeWidget::createStandardContextMenu(QMenu *contextMenu)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mEnableColumnCustomize) {
|
if (mEnableColumnCustomize) {
|
||||||
QMenu *headerMenu = contextMenu->addMenu(QIcon(),tr("Show Headers"));
|
QMenu *headerMenu = contextMenu->addMenu(QIcon(),tr("Show column..."));
|
||||||
|
|
||||||
QTreeWidgetItem *item = headerItem();
|
QTreeWidgetItem *item = headerItem();
|
||||||
int columnCount = item->columnCount();
|
int columnCount = item->columnCount();
|
||||||
|
Loading…
Reference in New Issue
Block a user