mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-21 21:55:15 -05:00
fixed own avatar loading on PeersDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1607 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5d393e2b61
commit
de190f0bdf
@ -96,26 +96,17 @@ PeersDialog::PeersDialog(QWidget *parent)
|
||||
/* hide the Tree +/- */
|
||||
ui.peertreeWidget -> setRootIsDecorated( false );
|
||||
|
||||
/* Set header resize modes and initial section sizes */
|
||||
/* Set header resize modes and initial section sizes */
|
||||
QHeaderView * _header = ui.peertreeWidget->header () ;
|
||||
_header->setResizeMode (0, QHeaderView::Custom);
|
||||
_header->setResizeMode (0, QHeaderView::Custom);
|
||||
_header->setResizeMode (1, QHeaderView::Interactive);
|
||||
_header->setResizeMode (2, QHeaderView::Interactive);
|
||||
/*_header->setResizeMode (3, QHeaderView::Interactive);
|
||||
_header->setResizeMode (4, QHeaderView::Interactive);
|
||||
_header->setResizeMode (5, QHeaderView::Interactive);
|
||||
_header->setResizeMode (6, QHeaderView::Interactive);
|
||||
_header->setResizeMode (7, QHeaderView::Interactive);*/
|
||||
|
||||
|
||||
_header->resizeSection ( 0, 25 );
|
||||
_header->resizeSection ( 1, 100 );
|
||||
_header->resizeSection ( 2, 100 );
|
||||
/*_header->resizeSection ( 3, 120 );
|
||||
_header->resizeSection ( 4, 100 );
|
||||
_header->resizeSection ( 5, 230 );
|
||||
_header->resizeSection ( 6, 120 );
|
||||
_header->resizeSection ( 7, 220 );*/
|
||||
|
||||
|
||||
// set header text aligment
|
||||
QTreeWidgetItem * headerItem = ui.peertreeWidget->headerItem();
|
||||
@ -127,7 +118,6 @@ PeersDialog::PeersDialog(QWidget *parent)
|
||||
|
||||
loadEmoticonsgroupchat();
|
||||
|
||||
//setWindowIcon(QIcon(QString(":/images/rstray3.png")));
|
||||
|
||||
connect(ui.lineEdit, SIGNAL(textChanged ( ) ), this, SLOT(checkChat( ) ));
|
||||
connect(ui.Sendbtn, SIGNAL(clicked()), this, SLOT(sendMsg()));
|
||||
@ -224,7 +214,7 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point )
|
||||
contextMnu.addAction( removefriendAct);
|
||||
contextMnu.exec( mevent->globalPos() );
|
||||
|
||||
updateAvatar();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user