mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
store file certs as .rsc extension
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2157 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
abee3afb3e
commit
dd5e058173
@ -160,7 +160,7 @@ IntroPage::IntroPage(QWidget *parent)
|
||||
"to do this:")) ;
|
||||
|
||||
textRadioButton = new QRadioButton(tr("&Enter the certificate manually"));
|
||||
certRadioButton = new QRadioButton(tr("&Use *.pqi files with certificates" ));
|
||||
certRadioButton = new QRadioButton(tr("&Use *.rsc files with certificates" ));
|
||||
foffRadioButton = new QRadioButton(tr("&Make friend with selected friends of my friends" ));
|
||||
textRadioButton->setChecked(true);
|
||||
|
||||
@ -595,7 +595,7 @@ CertificatePage::CertificatePage(QWidget *parent) : QWizardPage(parent) {
|
||||
void CertificatePage::loadFriendCert() {
|
||||
QString fileName =
|
||||
QFileDialog::getOpenFileName(this, tr("Select Certificate"),
|
||||
"", tr("Certificates (*.pqi *.pem)"));
|
||||
"", tr("RetroShare Certificates (*.rsc)"));
|
||||
|
||||
if (!fileName.isNull())
|
||||
{
|
||||
@ -612,7 +612,7 @@ void CertificatePage::generateCertificateCalled() {
|
||||
QString qdir = QFileDialog::getSaveFileName(this,
|
||||
tr("Please choose a filename"),
|
||||
QDir::homePath(),
|
||||
"RetroShare Certificate (*.pqi)");
|
||||
"RetroShare Certificate (*.rsc)");
|
||||
|
||||
if ( rsPeers->saveCertificateToFile(rsPeers->getOwnId(), qdir.toStdString()) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user