mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-11 16:13:05 -04:00
show fingerprint in ConfCertDialog, and splitted the string with spaces. Removed the use of the ambiguous peer id for both pgp and locations ids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6900 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d2ddf9c4c4
commit
fc56b95d3f
5 changed files with 63 additions and 4 deletions
retroshare-gui/src/gui/connect
|
@ -42,6 +42,7 @@
|
|||
#include "gui/MainWindow.h"
|
||||
#include "mainpage.h"
|
||||
#include "util/DateTime.h"
|
||||
#include "util/misc.h"
|
||||
|
||||
static QMap<std::string, ConfCertDialog*> instances;
|
||||
|
||||
|
@ -185,6 +186,7 @@ void ConfCertDialog::load()
|
|||
link.createPerson(detail.id);
|
||||
|
||||
ui.rsid->setText(link.toHtml());
|
||||
ui.pgpfingerprint->setText(misc::fingerPrintStyleSplit(QString::fromStdString(detail.fpr)));
|
||||
ui.rsid->setToolTip(link.title());
|
||||
|
||||
if (!detail.isOnlyGPGdetail) {
|
||||
|
@ -242,11 +244,17 @@ void ConfCertDialog::load()
|
|||
ui.tabWidget->show();
|
||||
ui.rsid->hide();
|
||||
ui.label_rsid->hide();
|
||||
ui.pgpfingerprint->show();
|
||||
ui.pgpfingerprint_label->show();
|
||||
} else {
|
||||
ui.avatar->setId(mId, true);
|
||||
|
||||
ui.rsid->show();
|
||||
ui.peerid->hide();
|
||||
ui.label_id->hide();
|
||||
ui.label_rsid->show();
|
||||
ui.pgpfingerprint->show();
|
||||
ui.pgpfingerprint_label->show();
|
||||
ui.loc->hide();
|
||||
ui.label_loc->hide();
|
||||
ui.statusline->hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue