mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-22 12:56:37 -04:00
removed some dead code
This commit is contained in:
parent
a04d56e84e
commit
d055887aa1
1 changed files with 0 additions and 20 deletions
|
@ -458,15 +458,6 @@ void NewFriendList::processSettings(bool load)
|
||||||
Settings->setArrayIndex(index);
|
Settings->setArrayIndex(index);
|
||||||
|
|
||||||
std::string gids = Settings->value("open").toString().toStdString();
|
std::string gids = Settings->value("open").toString().toStdString();
|
||||||
|
|
||||||
// RsGroupInfo ginfo ;
|
|
||||||
//
|
|
||||||
// if(rsPeers->getGroupInfoByName(gids,ginfo)) // backward compatibility
|
|
||||||
// addGroupToExpand(ginfo.id) ;
|
|
||||||
// else if(rsPeers->getGroupInfo(RsNodeGroupId(gids),ginfo)) // backward compatibility
|
|
||||||
// addGroupToExpand(ginfo.id) ;
|
|
||||||
// else
|
|
||||||
// std::cerr << "(EE) Cannot find group info for openned group \"" << gids << "\"" << std::endl;
|
|
||||||
}
|
}
|
||||||
Settings->endArray();
|
Settings->endArray();
|
||||||
}
|
}
|
||||||
|
@ -486,15 +477,6 @@ void NewFriendList::processSettings(bool load)
|
||||||
// sort
|
// sort
|
||||||
Settings->setValue("sortByState", mProxyModel->sortByState());
|
Settings->setValue("sortByState", mProxyModel->sortByState());
|
||||||
|
|
||||||
// // open groups
|
|
||||||
// Settings->beginWriteArray("Groups");
|
|
||||||
// int arrayIndex = 0;
|
|
||||||
// std::set<RsNodeGroupId> expandedPeers;
|
|
||||||
// getExpandedGroups(expandedPeers);
|
|
||||||
// foreach (RsNodeGroupId groupId, expandedPeers) {
|
|
||||||
// Settings->setArrayIndex(arrayIndex++);
|
|
||||||
// Settings->setValue("open", QString::fromStdString(groupId.toStdString()));
|
|
||||||
// }
|
|
||||||
Settings->endArray();
|
Settings->endArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -719,8 +701,6 @@ void NewFriendList::peerTreeWidgetCustomPopupMenu()
|
||||||
contextMenu.addAction(ui->actionExportFriendlist);
|
contextMenu.addAction(ui->actionExportFriendlist);
|
||||||
contextMenu.addAction(ui->actionImportFriendlist);
|
contextMenu.addAction(ui->actionImportFriendlist);
|
||||||
|
|
||||||
// contextMenu = ui->peerTreeWidget->createStandardContextMenu(contextMenu);
|
|
||||||
|
|
||||||
contextMenu.exec(QCursor::pos());
|
contextMenu.exec(QCursor::pos());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue