mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 09:35:32 -04:00
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:
parent
491438055d
commit
c6a7dba418
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue