mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 14:10:54 -04:00
Added default Email Client Button to Web Mail Page
This commit is contained in:
parent
b501d91f21
commit
b717d601f4
3 changed files with 26 additions and 1 deletions
|
@ -105,11 +105,13 @@ ConnectFriendWizard::ConnectFriendWizard(QWidget *parent) :
|
|||
connect(ui->acceptNoSignGPGCheckBox,SIGNAL(toggled(bool)), ui->_options_GB,SLOT(setEnabled(bool))) ;
|
||||
connect(ui->addKeyToKeyring_CB,SIGNAL(toggled(bool)), ui->acceptNoSignGPGCheckBox,SLOT(setChecked(bool))) ;
|
||||
|
||||
connect(ui->gmailButton, SIGNAL(clicked()), this, SLOT(inviteGmail()));
|
||||
connect(ui->gmailButton, SIGNAL(clicked()), this, SLOT(inviteGmail()));
|
||||
connect(ui->yahooButton, SIGNAL(clicked()), this, SLOT(inviteYahoo()));
|
||||
connect(ui->outlookButton, SIGNAL(clicked()), this, SLOT(inviteOutlook()));
|
||||
connect(ui->aolButton, SIGNAL(clicked()), this, SLOT(inviteAol()));
|
||||
connect(ui->yandexButton, SIGNAL(clicked()), this, SLOT(inviteYandex()));
|
||||
connect(ui->emailButton, SIGNAL(clicked()), this, SLOT(runEmailClient2()));
|
||||
|
||||
|
||||
subject = tr("RetroShare Invitation");
|
||||
body = GetStartedDialog::GetInviteText();
|
||||
|
@ -1256,3 +1258,8 @@ void ConnectFriendWizard::inviteYandex()
|
|||
{
|
||||
QDesktopServices::openUrl(QUrl("https://mail.yandex.com/neo2/#compose/subject=" + subject + "&body=" + body, QUrl::TolerantMode));
|
||||
}
|
||||
|
||||
void ConnectFriendWizard::runEmailClient2()
|
||||
{
|
||||
sendMail("", subject, body );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue