fixed initialization of friend selection dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6440 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-06-18 20:32:10 +00:00
parent 491438055d
commit c6a7dba418
2 changed files with 7 additions and 1 deletions

View File

@ -183,7 +183,7 @@ int FriendSelectionWidget::addColumn(const QString &title)
void FriendSelectionWidget::start()
{
mStarted = true;
fillList();
secured_fillList();
for (int i = 0; i < ui->friendList->columnCount(); ++i) {
ui->friendList->resizeColumnToContents(i);
@ -225,6 +225,11 @@ void FriendSelectionWidget::fillList()
if(RsAutoUpdatePage::eventsLocked())
return ;
secured_fillList() ;
}
void FriendSelectionWidget::secured_fillList()
{
mInFillList = true;
// get selected items

View File

@ -106,6 +106,7 @@ signals:
private slots:
void fillList();
void secured_fillList();
void peerStatusChanged(const QString& peerId, int status);
void filterItems(const QString &text);
void contextMenuRequested(const QPoint &pos);