store cert file as .rsc format

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2156 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-30 15:33:25 +00:00
parent 353a93df62
commit abee3afb3e

View File

@ -115,11 +115,15 @@ bool CryptoPage::fileSave()
bool CryptoPage::fileSaveAs()
{
QString fn = QFileDialog::getSaveFileName(this, tr("Save as..."),
QString(), tr("RetroShare Certificate (*.retroshare );;All Files (*)"));
QString(), tr("RetroShare Certificate (*.rsc );;All Files (*)"));
if (fn.isEmpty())
return false;
setCurrentFileName(fn);
return fileSave();
QMessageBox::information(this, tr("RetroShare"),
tr("RetroShare Certificate file successfully created"),
QMessageBox::Ok, QMessageBox::Ok);
}
void CryptoPage::setCurrentFileName(const QString &fileName)