author | zautrix <zautrix> | 2004-09-16 23:29:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-16 23:29:24 (UTC) |
commit | eebe4409884ccd4dedb7cb697a800f74b33eb292 (patch) (side-by-side diff) | |
tree | cd0a235edcab08ee8512c738624dcebac9502749 /kmicromail/opiemail.cpp | |
parent | af411746b1480e7b331ea7d163f39d2507cf7264 (diff) | |
download | kdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.zip kdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.tar.gz kdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.tar.bz2 |
Fixes in ompi
-rw-r--r-- | kmicromail/opiemail.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 3cbac8e..9a1a750 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -260,18 +260,16 @@ void OpieMail::slotGetAllMail() ((AccountViewItem *)item)->contextMenuSelected( 101 ); item = item->nextSibling (); } } void OpieMail::slotGetMail() { QListViewItem * item = folderView->currentItem(); if ( ! item ) return; - while ( item->parent () ) - item = item->parent (); ((AccountViewItem *)item)->contextMenuSelected( 101 ); } void OpieMail::slotDeleteMail() { if (!mailView->currentItem()) return; RecMailP mail = ((MailListViewItem*)mailView->currentItem() )->data(); if ( QMessageBox::warning(this, tr("Delete Mail"), QString( tr("<p>Do you really want to delete this mail? <br><br>" ) + mail->getFrom() + " - " + mail->getSubject() ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes ) { |