fixed adding external IPs and DNS in old cert format

This commit is contained in:
csoler 2022-02-15 22:04:54 +01:00
parent 53d43324db
commit 42fa8d4b3c
3 changed files with 2 additions and 12 deletions

@ -1 +1 @@
Subproject commit 61dbe774d60070a7ce371f925f230a878996cdd5
Subproject commit 87fdae942186ab3412ce40438e30f76670dd55d0

View File

@ -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*/)
{

View File

@ -63,7 +63,6 @@ private slots:
void webMail();
void openWebHelp() ;
void recommendFriends();
void switchCertificateFormat();
private:
Ui::HomePage *ui;