mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -04:00
add error info when gpg password is wrong
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2261 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fba2a3afae
commit
9262feac1c
3 changed files with 12 additions and 7 deletions
|
@ -340,7 +340,12 @@ void ConfCertDialog::denyFriend() {
|
|||
|
||||
void ConfCertDialog::signGPGKey() {
|
||||
std::string gpg_id = rsPeers->getGPGId(mId);
|
||||
rsPeers->signGPGCertificate(gpg_id);
|
||||
if (!rsPeers->signGPGCertificate(gpg_id)) {
|
||||
QMessageBox::StandardButton sb = QMessageBox::warning ( NULL,
|
||||
tr("Signature Failure"),
|
||||
tr("Maybe password is wrong"),
|
||||
QMessageBox::Ok);
|
||||
}
|
||||
loadDialog();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue