From 53d5287490bd660f5296df022c111d3674ca5bff Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 21 Jun 2010 12:26:23 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/NetworkDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/NetworkDialog.cpp b/retroshare-gui/src/gui/NetworkDialog.cpp index 5b7ef8201..1cd469ab5 100644 --- a/retroshare-gui/src/gui/NetworkDialog.cpp +++ b/retroshare-gui/src/gui/NetworkDialog.cpp @@ -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));