mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 17:09:34 -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>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout" >
|
<layout class="QVBoxLayout" name="verticalLayout" >
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTableWidget" name="trustTableTW" />
|
<widget class="QTableWidget" name="trustTableTW">
|
||||||
|
<property name="editTriggers">
|
||||||
|
<set>QAbstractItemView::NoEditTriggers</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout" >
|
<layout class="QHBoxLayout" name="horizontalLayout" >
|
||||||
|
@ -465,8 +465,7 @@ void FofPage::updatePeersList(int e) {
|
|||||||
selectedPeersTW->clearContents() ;
|
selectedPeersTW->clearContents() ;
|
||||||
selectedPeersTW->setRowCount(0) ;
|
selectedPeersTW->setRowCount(0) ;
|
||||||
|
|
||||||
std::list<std::string> ids ;
|
std::string sOwnId = rsPeers->getGPGOwnId();
|
||||||
rsPeers->getGPGAllList(ids) ;
|
|
||||||
|
|
||||||
int row = 0 ;
|
int row = 0 ;
|
||||||
|
|
||||||
@ -480,6 +479,11 @@ void FofPage::updatePeersList(int e) {
|
|||||||
rsPeers->getGPGAllList(gpg_ids);
|
rsPeers->getGPGAllList(gpg_ids);
|
||||||
for(std::list<std::string>::const_iterator it(gpg_ids.begin());it!=gpg_ids.end();++it)
|
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) ;
|
std::cerr << "examining peer " << *it << " (name=" << rsPeers->getPeerName(*it) ;
|
||||||
RsPeerDetails details ;
|
RsPeerDetails details ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user