set minimum sizeHint for Network's TreeWidget items to 18 pixel

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3183 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-21 12:26:23 +00:00
parent ff1f521a2b
commit 53d5287490

View File

@ -426,7 +426,8 @@ void NetworkDialog::insertConnect()
std::cerr << "NetworkDialog::insertConnect() creating new tree widget item : " << *it << std::endl;
#endif
item = new QTreeWidgetItem(0);
item->setChildIndicatorPolicy(QTreeWidgetItem::DontShowIndicatorWhenChildless);
item -> setChildIndicatorPolicy(QTreeWidgetItem::DontShowIndicatorWhenChildless);
item -> setSizeHint(0, QSize( 18,18 ) );
/* (1) Person */
item -> setText(COLUMN_PEERNAME, QString::fromStdString(detail.name));