Diffstat (limited to 'noncore/net/mail/viewmail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/viewmail.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/net/mail/viewmail.cpp b/noncore/net/mail/viewmail.cpp index 163ffb7..2415c82 100644 --- a/noncore/net/mail/viewmail.cpp +++ b/noncore/net/mail/viewmail.cpp | |||
@@ -1,3 +1,3 @@ | |||
1 | #include <qtextbrowser.h> | 1 | #include <qtextbrowser.h> |
2 | #include <qmessagebox.h> | 2 | #include <qmessagebox.h>? |
3 | #include <qtextstream.h> | 3 | #include <qtextstream.h> |
@@ -321,5 +321,7 @@ void ViewMail::slotDeleteMail( ) | |||
321 | { | 321 | { |
322 | m_recMail.Wrapper()->deleteMail( m_recMail ); | 322 | if ( QMessageBox::warning(this, tr("Delete Mail"), QString( tr("<p>Do you really want to delete this mail? <br><br>" ) + m_mail[0] + " - " + m_mail[1] ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes ) { |
323 | hide(); | 323 | m_recMail.Wrapper()->deleteMail( m_recMail ); |
324 | deleted = true; | 324 | hide(); |
325 | deleted = true; | ||
326 | } | ||
325 | } | 327 | } |