mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 21:59:02 -04:00
fixed adding external IPs and DNS in old cert format
This commit is contained in:
parent
53d43324db
commit
42fa8d4b3c
3 changed files with 2 additions and 12 deletions
|
@ -80,7 +80,7 @@ HomePage::HomePage(QWidget *parent) :
|
|||
|
||||
mUseOldFormatact = new QAction(QIcon(), tr("Use old certificate format"),this);
|
||||
mUseOldFormatact->setToolTip(tr("Displays the certificate format used up to version 0.6.5\nOld Retroshare nodes will not understand the\nnew short format"));
|
||||
connect(mUseOldFormatact, SIGNAL(triggered()), this, SLOT(switchCertificateFormat()));
|
||||
connect(mUseOldFormatact, SIGNAL(triggered()), this, SLOT(updateOwnCert()));
|
||||
mUseOldFormatact->setCheckable(true);
|
||||
mUseOldFormatact->setChecked(false);
|
||||
menu->addAction(mUseOldFormatact);
|
||||
|
@ -164,15 +164,6 @@ void HomePage::handleEvent(std::shared_ptr<const RsEvent> e)
|
|||
}
|
||||
}
|
||||
|
||||
void HomePage::switchCertificateFormat()
|
||||
{
|
||||
whileBlocking(mIncludeDNSact)->setVisible(!mUseOldFormatact->isChecked());
|
||||
whileBlocking(mIncludeLocIPact)->setVisible(!mUseOldFormatact->isChecked());
|
||||
whileBlocking(mIncludeExtIPact)->setVisible(!mUseOldFormatact->isChecked());
|
||||
|
||||
updateOwnCert();
|
||||
}
|
||||
|
||||
#ifdef DEAD_CODE
|
||||
void HomePage::certContextMenu(QPoint /*point*/)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue