mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 23:55:35 -04:00
Removed focus rectangle of the icon column in NetworkDialog.
Removed minimum size of the GraphWidget in NetworkView. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3784 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c36fab48d8
commit
9ef2260dd4
2 changed files with 6 additions and 2 deletions
|
@ -38,6 +38,7 @@
|
|||
#include "GenCertDialog.h"
|
||||
#include "connect/ConfCertDialog.h"
|
||||
#include "settings/rsharesettings.h"
|
||||
#include "common/RSItemDelegate.h"
|
||||
|
||||
|
||||
/* Images for context menu icons */
|
||||
|
@ -99,6 +100,11 @@ NetworkDialog::NetworkDialog(QWidget *parent)
|
|||
ui.connecttreeWidget -> setColumnCount(5);
|
||||
ui.unvalidGPGkeyWidget-> setColumnCount(5);
|
||||
|
||||
RSItemDelegate *itemDelegate = new RSItemDelegate(this);
|
||||
itemDelegate->removeFocusRect(0);
|
||||
ui.connecttreeWidget->setItemDelegate(itemDelegate);
|
||||
ui.unvalidGPGkeyWidget->setItemDelegate(itemDelegate);
|
||||
|
||||
/* Set header resize modes and initial section sizes */
|
||||
QHeaderView * _header = ui.connecttreeWidget->header () ;
|
||||
_header->setResizeMode (0, QHeaderView::Custom);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue