mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-21 05:44:29 -05:00
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:
parent
353a93df62
commit
abee3afb3e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user