mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
ff1f521a2b
commit
53d5287490
@ -426,7 +426,8 @@ void NetworkDialog::insertConnect()
|
|||||||
std::cerr << "NetworkDialog::insertConnect() creating new tree widget item : " << *it << std::endl;
|
std::cerr << "NetworkDialog::insertConnect() creating new tree widget item : " << *it << std::endl;
|
||||||
#endif
|
#endif
|
||||||
item = new QTreeWidgetItem(0);
|
item = new QTreeWidgetItem(0);
|
||||||
item->setChildIndicatorPolicy(QTreeWidgetItem::DontShowIndicatorWhenChildless);
|
item -> setChildIndicatorPolicy(QTreeWidgetItem::DontShowIndicatorWhenChildless);
|
||||||
|
item -> setSizeHint(0, QSize( 18,18 ) );
|
||||||
|
|
||||||
/* (1) Person */
|
/* (1) Person */
|
||||||
item -> setText(COLUMN_PEERNAME, QString::fromStdString(detail.name));
|
item -> setText(COLUMN_PEERNAME, QString::fromStdString(detail.name));
|
||||||
|
Loading…
Reference in New Issue
Block a user