mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
- set items in TrustView to not editable
- don't show the own gpgid in FofPage in ConnectFriendWizard git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3238 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
852d82e287
commit
17723df2c8
@ -14,7 +14,11 @@
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout" >
|
||||
<item>
|
||||
<widget class="QTableWidget" name="trustTableTW" />
|
||||
<widget class="QTableWidget" name="trustTableTW">
|
||||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::NoEditTriggers</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout" >
|
||||
|
@ -465,8 +465,7 @@ void FofPage::updatePeersList(int e) {
|
||||
selectedPeersTW->clearContents() ;
|
||||
selectedPeersTW->setRowCount(0) ;
|
||||
|
||||
std::list<std::string> ids ;
|
||||
rsPeers->getGPGAllList(ids) ;
|
||||
std::string sOwnId = rsPeers->getGPGOwnId();
|
||||
|
||||
int row = 0 ;
|
||||
|
||||
@ -480,6 +479,11 @@ void FofPage::updatePeersList(int e) {
|
||||
rsPeers->getGPGAllList(gpg_ids);
|
||||
for(std::list<std::string>::const_iterator it(gpg_ids.begin());it!=gpg_ids.end();++it)
|
||||
{
|
||||
if (*it == sOwnId) {
|
||||
// its me
|
||||
continue;
|
||||
}
|
||||
|
||||
std::cerr << "examining peer " << *it << " (name=" << rsPeers->getPeerName(*it) ;
|
||||
RsPeerDetails details ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user