mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-17 01:24:15 -05:00
removed regular update of node info in friend list model as it does not seem to be needed
This commit is contained in:
parent
5f705686fa
commit
3356509044
2 changed files with 23 additions and 28 deletions
|
|
@ -239,11 +239,6 @@ NewFriendList::NewFriendList(QWidget */*parent*/) : /* RsAutoUpdatePage(5000,par
|
|||
connect(mActionSortByState, SIGNAL(toggled(bool)), this, SLOT(toggleSortByState(bool)));
|
||||
connect(ui->peerTreeWidget, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(peerTreeWidgetCustomPopupMenu()));
|
||||
|
||||
// Using Queued connections here is pretty important since the notifications may come from a different thread.
|
||||
|
||||
// connect(NotifyQt::getInstance(), SIGNAL(friendsChanged()) , this, SLOT(forceUpdateDisplay()),Qt::QueuedConnection);
|
||||
// connect(NotifyQt::getInstance(), SIGNAL(groupsChanged(int)) , this, SLOT(forceUpdateDisplay()),Qt::QueuedConnection);
|
||||
|
||||
connect(ui->actionShowOfflineFriends, SIGNAL(triggered(bool)), this, SLOT(setShowUnconnected(bool)));
|
||||
connect(ui->actionShowState, SIGNAL(triggered(bool)), this, SLOT(setShowState(bool)) );
|
||||
connect(ui->actionShowGroups, SIGNAL(triggered(bool)), this, SLOT(setShowGroups(bool)) );
|
||||
|
|
@ -1030,11 +1025,6 @@ void NewFriendList::forceUpdateDisplay()
|
|||
checkInternalData(true);
|
||||
}
|
||||
|
||||
// void NewFriendList::updateDisplay()
|
||||
// {
|
||||
// checkInternalData(false);
|
||||
// }
|
||||
|
||||
void NewFriendList::moveToGroup()
|
||||
{
|
||||
RsFriendListModel::RsProfileDetails pinfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue