mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 06:59:27 -05:00
Fix for 2549915.
Fix for 2544835. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4ffdd9c792
commit
e29b0b5b46
@ -67,7 +67,7 @@ void InviteDialog::emailbutton()
|
||||
|
||||
std::string mailstr = "mailto:";
|
||||
|
||||
mailstr += "&subject=RetroShare Invite";
|
||||
mailstr += "?subject=RetroShare Invite";
|
||||
mailstr += "&body=";
|
||||
mailstr += ui.emailText->toPlainText().toStdString();
|
||||
|
||||
@ -107,12 +107,8 @@ void InviteDialog::setInfo(std::string invite)
|
||||
|
||||
void InviteDialog::savecertbutton(void)
|
||||
{
|
||||
std::string filename = rsPeers->getPeerName(rsPeers->getOwnId()); // file name will be user name
|
||||
filename += ".pqi"; // append retroshare cert extension
|
||||
QString qdir = QFileDialog::getExistingDirectory(this, tr("Please Choose Directory to Save Certificate"), "",
|
||||
false); // get current directory
|
||||
|
||||
qdir += tr(filename.c_str()); // append file name to directory
|
||||
QString qdir = QFileDialog::getSaveFileName(this, "Please choose a filename", QDir::homePath(), "RetroShare Certificate (*.pqi)");
|
||||
rsPeers->SaveCertificateToFile(rsPeers->getOwnId(), qdir.toStdString()); // save to file
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user