mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 06:09:09 -04:00
homepage - add friend from cert file button
This commit is contained in:
parent
cb960a358d
commit
d6870b45e9
4 changed files with 36 additions and 1 deletions
|
@ -52,7 +52,8 @@ HomePage::HomePage(QWidget *parent) :
|
|||
updateOwnCert();
|
||||
|
||||
connect(ui->addButton, SIGNAL(clicked()), this, SLOT(addFriend()));
|
||||
|
||||
connect(ui->LoadCertFileButton, SIGNAL(clicked()), this, SLOT(loadCert()));
|
||||
|
||||
QAction *CopyAction = new QAction(QIcon(),tr("Copy your Cert to Clipboard"), this);
|
||||
connect(CopyAction, SIGNAL(triggered()), this, SLOT(copyCert()));
|
||||
|
||||
|
@ -187,6 +188,14 @@ void HomePage::webMail()
|
|||
connwiz.exec ();
|
||||
}
|
||||
|
||||
void HomePage::loadCert()
|
||||
{
|
||||
ConnectFriendWizard connwiz (this);
|
||||
|
||||
connwiz.setStartId(ConnectFriendWizard::Page_Cert);
|
||||
connwiz.exec ();
|
||||
}
|
||||
|
||||
void HomePage::runStartWizard()
|
||||
{
|
||||
QuickStartWizard(this).exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue