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:
defnax 2009-09-07 13:05:42 +00:00
parent 5d393e2b61
commit de190f0bdf

View File

@ -101,21 +101,12 @@ PeersDialog::PeersDialog(QWidget *parent)
_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();
}