mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -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()
|
void FriendSelectionWidget::start()
|
||||||
{
|
{
|
||||||
mStarted = true;
|
mStarted = true;
|
||||||
fillList();
|
secured_fillList();
|
||||||
|
|
||||||
for (int i = 0; i < ui->friendList->columnCount(); ++i) {
|
for (int i = 0; i < ui->friendList->columnCount(); ++i) {
|
||||||
ui->friendList->resizeColumnToContents(i);
|
ui->friendList->resizeColumnToContents(i);
|
||||||
|
@ -225,6 +225,11 @@ void FriendSelectionWidget::fillList()
|
||||||
if(RsAutoUpdatePage::eventsLocked())
|
if(RsAutoUpdatePage::eventsLocked())
|
||||||
return ;
|
return ;
|
||||||
|
|
||||||
|
secured_fillList() ;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FriendSelectionWidget::secured_fillList()
|
||||||
|
{
|
||||||
mInFillList = true;
|
mInFillList = true;
|
||||||
|
|
||||||
// get selected items
|
// get selected items
|
||||||
|
|
|
@ -106,6 +106,7 @@ signals:
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void fillList();
|
void fillList();
|
||||||
|
void secured_fillList();
|
||||||
void peerStatusChanged(const QString& peerId, int status);
|
void peerStatusChanged(const QString& peerId, int status);
|
||||||
void filterItems(const QString &text);
|
void filterItems(const QString &text);
|
||||||
void contextMenuRequested(const QPoint &pos);
|
void contextMenuRequested(const QPoint &pos);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue