mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 08:35:16 -04:00
Added patch from Henry
Removed hardcoded fonts git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5675 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
70dbbaf537
commit
bc41be1f9a
17 changed files with 15 additions and 48 deletions
|
@ -203,10 +203,11 @@ void GroupTreeWidget::currentItemChanged(QTreeWidgetItem *current, QTreeWidgetIt
|
|||
|
||||
QTreeWidgetItem *GroupTreeWidget::addCategoryItem(const QString &name, const QIcon &icon, bool expand)
|
||||
{
|
||||
QFont font = QFont("ARIAL", 10);
|
||||
font.setBold(true);
|
||||
|
||||
QFont font;
|
||||
QTreeWidgetItem *item = new QTreeWidgetItem();
|
||||
font = item->font(COLUMN_NAME);
|
||||
font.setBold(true);
|
||||
font.setPointSize(10);
|
||||
item->setText(COLUMN_NAME, name);
|
||||
item->setData(COLUMN_DATA, ROLE_NAME, name);
|
||||
item->setFont(COLUMN_NAME, font);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue