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:
csoler 2010-02-20 13:25:09 +00:00
parent 7efb1c3890
commit 449f257ef5
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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)