mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed adding external IPs and DNS in old cert format
This commit is contained in:
parent
53d43324db
commit
42fa8d4b3c
@ -1 +1 @@
|
|||||||
Subproject commit 61dbe774d60070a7ce371f925f230a878996cdd5
|
Subproject commit 87fdae942186ab3412ce40438e30f76670dd55d0
|
@ -80,7 +80,7 @@ HomePage::HomePage(QWidget *parent) :
|
|||||||
|
|
||||||
mUseOldFormatact = new QAction(QIcon(), tr("Use old certificate format"),this);
|
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"));
|
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->setCheckable(true);
|
||||||
mUseOldFormatact->setChecked(false);
|
mUseOldFormatact->setChecked(false);
|
||||||
menu->addAction(mUseOldFormatact);
|
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
|
#ifdef DEAD_CODE
|
||||||
void HomePage::certContextMenu(QPoint /*point*/)
|
void HomePage::certContextMenu(QPoint /*point*/)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,6 @@ private slots:
|
|||||||
void webMail();
|
void webMail();
|
||||||
void openWebHelp() ;
|
void openWebHelp() ;
|
||||||
void recommendFriends();
|
void recommendFriends();
|
||||||
void switchCertificateFormat();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::HomePage *ui;
|
Ui::HomePage *ui;
|
||||||
|
Loading…
Reference in New Issue
Block a user