summaryrefslogtreecommitdiff
path: root/noncore/net/mail/viewmail.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/viewmail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/viewmail.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/net/mail/viewmail.cpp b/noncore/net/mail/viewmail.cpp
index e53f4a3..68d3c51 100644
--- a/noncore/net/mail/viewmail.cpp
+++ b/noncore/net/mail/viewmail.cpp
@@ -259,7 +259,7 @@ void ViewMail::slotReply()
QString rtext;
rtext += QString("* %1 wrote on %2:\n") // no i18n on purpose
- .arg( m_mail[1] )
+ .arg( m_mail[0] )
.arg( m_mail[3] );
QString text = m_mail[2];
@@ -280,8 +280,9 @@ void ViewMail::slotReply()
composer.setSubject( "Re: " + m_mail[1] );
composer.setMessage( rtext );
composer.showMaximized();
- composer.exec();
-
+ if ( QDialog::Accepted==composer.exec()) {
+ m_recMail.Wrapper()->answeredMail(m_recMail);
+ }
}
void ViewMail::slotForward()
@@ -314,7 +315,9 @@ void ViewMail::slotForward()
composer.setSubject( "Fwd: " + m_mail[1] );
composer.setMessage( ftext );
composer.showMaximized();
- composer.exec();
+ if ( QDialog::Accepted==composer.exec()) {
+
+ }
}
void ViewMail::slotDeleteMail( )