mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-14 18:34:29 -05:00
Forgot to close the new invite page after sending the mail.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1734ce4fdc
commit
7dd79e650f
@ -1156,16 +1156,21 @@ bool EmailPage::isComplete() const {
|
||||
}
|
||||
|
||||
int EmailPage::nextId() const {
|
||||
return -1;
|
||||
}
|
||||
|
||||
bool EmailPage::validatePage()
|
||||
{
|
||||
QString mailaddresses = addressEdit->text();
|
||||
|
||||
if (mailaddresses.isEmpty() == false)
|
||||
if (mailaddresses.isEmpty() == false)
|
||||
{
|
||||
std::string body = inviteTextEdit->toPlainText().toStdString();
|
||||
body += "\n\n" + rsPeers->GetRetroshareInvite();
|
||||
|
||||
|
||||
sendMail (mailaddresses.toStdString(), subjectEdit->text().toStdString(), body);
|
||||
return true;
|
||||
}
|
||||
|
||||
return ConnectFriendWizard::Page_Email;
|
||||
return false;
|
||||
}
|
||||
|
@ -289,7 +289,7 @@ public:
|
||||
|
||||
int nextId() const;
|
||||
bool isComplete() const ;
|
||||
|
||||
bool validatePage();
|
||||
|
||||
private:
|
||||
QLabel* addressLabel;
|
||||
|
Loading…
Reference in New Issue
Block a user