mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-29 08:43:29 -05:00
added more detailed info about gpg ids in login and gen certificates dialogs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7efb1c3890
commit
449f257ef5
@ -65,7 +65,7 @@ GenCertDialog::GenCertDialog(QWidget *parent, Qt::WFlags flags)
|
||||
std::string name, email;
|
||||
RsInit::GetPGPLoginDetails(*it, name, email);
|
||||
std::cerr << "Adding PGPUser: " << name << " id: " << *it << std::endl;
|
||||
ui.genPGPuser->addItem(QString::fromStdString(name), userData);
|
||||
ui.genPGPuser->addItem(QString::fromStdString(name + " <" + email + "> ("+*it+")"), userData);
|
||||
foundGPGKeys = true;
|
||||
}
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ StartDialog::StartDialog(QWidget *parent, Qt::WFlags flags)
|
||||
const QVariant & userData = QVariant(QString::fromStdString(*it));
|
||||
std::string gpgid, name, email, location;
|
||||
RsInit::getAccountDetails(*it, gpgid, name, email, location);
|
||||
QString accountName = QString::fromStdString(name) + " - " + QString::fromStdString(location);
|
||||
QString accountName = QString::fromStdString(name + " (" + gpgid + ") - " + location);
|
||||
ui.loadName->addItem(accountName, userData);
|
||||
|
||||
if (preferedId == *it)
|
||||
|
Loading…
x
Reference in New Issue
Block a user