mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 13:24:15 -05: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
@ -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);
|
||||
|
@ -138,8 +138,6 @@ GraphWidget::GraphWidget(QWidget *)
|
||||
|
||||
|
||||
scale(qreal(0.8), qreal(0.8));
|
||||
setMinimumSize(500, 500);
|
||||
//setWindowTitle(tr("Elastic Nodes"));
|
||||
}
|
||||
|
||||
void GraphWidget::clearGraph()
|
||||
|
Loading…
x
Reference in New Issue
Block a user