mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
Fixed SIGSEGV fault, thx to Phenom for the Patch ( FixConfCertDialog_SIGSEGV_v0.6.patch )
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7263 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9ea4ab24e0
commit
d1e526cdf7
@ -121,13 +121,13 @@ ConfCertDialog::ConfCertDialog(const RsPeerId& id, const RsPgpId &pgp_id, QWidge
|
||||
|
||||
ConfCertDialog::~ConfCertDialog()
|
||||
{
|
||||
if(peerId.isNull())
|
||||
// if(peerId.isNull())
|
||||
{
|
||||
QMap<RsPeerId, ConfCertDialog*>::iterator it = instances_ssl.find(peerId);
|
||||
if (it != instances_ssl.end())
|
||||
instances_ssl.erase(it);
|
||||
}
|
||||
else
|
||||
// else
|
||||
{
|
||||
QMap<RsPgpId, ConfCertDialog*>::iterator it = instances_pgp.find(pgpId);
|
||||
if (it != instances_pgp.end())
|
||||
@ -158,8 +158,6 @@ void ConfCertDialog::load()
|
||||
{
|
||||
RsPeerDetails detail;
|
||||
|
||||
bool ok = false ;
|
||||
|
||||
if(!(rsPeers->getPeerDetails(peerId, detail) || rsPeers->getGPGDetails(pgpId, detail)))
|
||||
{
|
||||
QMessageBox::information(this,
|
||||
|
Loading…
Reference in New Issue
Block a user