fixed Treewidget header textalignment tp center

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-07-12 11:57:09 +00:00
parent ea1326cf04
commit a9bda83565

View File

@ -106,6 +106,13 @@ PeersDialog::PeersDialog(QWidget *parent)
_header->resizeSection ( 6, 120 );
_header->resizeSection ( 7, 220 );*/
// set header text aligment
QTreeWidgetItem * headerItem = ui.peertreeWidget->headerItem();
headerItem->setTextAlignment(0, Qt::AlignHCenter | Qt::AlignVCenter);
headerItem->setTextAlignment(1, Qt::AlignHCenter | Qt::AlignVCenter);
headerItem->setTextAlignment(2, Qt::AlignHCenter | Qt::AlignVCenter);
loadEmoticonsgroupchat();