mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 06:31:20 -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
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue