mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 19:42:28 -04: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
1 changed files with 5 additions and 1 deletions
|
@ -115,11 +115,15 @@ bool CryptoPage::fileSave()
|
||||||
bool CryptoPage::fileSaveAs()
|
bool CryptoPage::fileSaveAs()
|
||||||
{
|
{
|
||||||
QString fn = QFileDialog::getSaveFileName(this, tr("Save as..."),
|
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())
|
if (fn.isEmpty())
|
||||||
return false;
|
return false;
|
||||||
setCurrentFileName(fn);
|
setCurrentFileName(fn);
|
||||||
return fileSave();
|
return fileSave();
|
||||||
|
|
||||||
|
QMessageBox::information(this, tr("RetroShare"),
|
||||||
|
tr("RetroShare Certificate file successfully created"),
|
||||||
|
QMessageBox::Ok, QMessageBox::Ok);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CryptoPage::setCurrentFileName(const QString &fileName)
|
void CryptoPage::setCurrentFileName(const QString &fileName)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue