Found another missing toUtf8 in GenCertDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4577 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-08-28 00:21:34 +00:00
parent 185307ad37
commit 44806b7581

View File

@ -69,8 +69,8 @@ GenCertDialog::GenCertDialog(QWidget *parent, Qt::WFlags flags)
std::string name, email; std::string name, email;
RsInit::GetPGPLoginDetails(*it, name, email); RsInit::GetPGPLoginDetails(*it, name, email);
std::cerr << "Adding PGPUser: " << name << " id: " << *it << std::endl; std::cerr << "Adding PGPUser: " << name << " id: " << *it << std::endl;
QString gid = QString::fromStdString(*it).right(8) ; QString gid = QString::fromStdString(*it).right(8) ;
ui.genPGPuser->addItem(QString::fromStdString(name + " <" + email + "> (")+gid+")", userData); ui.genPGPuser->addItem(QString::fromUtf8(name.c_str()) + " <" + QString::fromUtf8(email.c_str()) + "> (" + gid + ")", userData);
foundGPGKeys = true; foundGPGKeys = true;
} }
} }