author | zautrix <zautrix> | 2005-01-24 18:27:06 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-24 18:27:06 (UTC) |
commit | bb33b559609356149ae51cb50c081b3e82aecafb (patch) (side-by-side diff) | |
tree | 4878aa5887bf1c539845ce9c4e5470eea94d41cc /kmicromail/opiemail.cpp | |
parent | 77f93c632b66b5c8d92e4c63330362272ca1fc40 (diff) | |
download | kdepimpi-bb33b559609356149ae51cb50c081b3e82aecafb.zip kdepimpi-bb33b559609356149ae51cb50c081b3e82aecafb.tar.gz kdepimpi-bb33b559609356149ae51cb50c081b3e82aecafb.tar.bz2 |
pixmap update fix
-rw-r--r-- | kmicromail/opiemail.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 760e3b0..68f0eb3 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -415,7 +415,9 @@ void OpieMail::displayMail() } else { - ( (MailListViewItem*)item )->setPixmap( 0, QPixmap() ); + QListViewItem*item = mailView->currentItem(); + if (item) + ( (MailListViewItem*)item )->setPixmap( 0, QPixmap() ); } } void OpieMail::slotGetAllMail() |