mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
merged peer detail dialogs from network and friends tab
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1191 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d201d41736
commit
01bbd5ef03
6 changed files with 431 additions and 460 deletions
|
@ -43,6 +43,8 @@
|
|||
#include <QPixmap>
|
||||
#include <QHeaderView>
|
||||
|
||||
#include "connect/ConfCertDialog.h"
|
||||
|
||||
/* Images for context menu icons */
|
||||
#define IMAGE_LOADCERT ":/images/loadcert16.png"
|
||||
#define IMAGE_PEERDETAILS ":/images/peerdetails_16x16.png"
|
||||
|
@ -247,11 +249,12 @@ void NetworkDialog::makeFriend()
|
|||
/** Shows Peer Information/Auth Dialog */
|
||||
void NetworkDialog::peerdetails()
|
||||
{
|
||||
#if 0
|
||||
#ifdef NET_DEBUG
|
||||
std::cerr << "ConnectionsDialog::peerdetails()" << std::endl;
|
||||
#endif
|
||||
|
||||
QTreeWidgetItem *wi = getCurrentNeighbour();
|
||||
QTreeWidgetItem *wi =
|
||||
if (!wi)
|
||||
return;
|
||||
|
||||
|
@ -260,6 +263,8 @@ void NetworkDialog::peerdetails()
|
|||
out << id;
|
||||
|
||||
showpeerdetails(out.str());
|
||||
#endif
|
||||
ConfCertDialog::show(getCurrentNeighbour()->text(9).toStdString());
|
||||
}
|
||||
|
||||
/** Shows Peer Information/Auth Dialog */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue