author | zautrix <zautrix> | 2005-03-26 17:26:28 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-26 17:26:28 (UTC) |
commit | 36dd498ad2f5a2cf43fc08c621669fe42198e5eb (patch) (unidiff) | |
tree | 78f826bd02a35e0624d245f267ec5b595350574e | |
parent | e3f00322eb77bd03250eb66a2574b640de9aebb4 (diff) | |
download | kdepimpi-36dd498ad2f5a2cf43fc08c621669fe42198e5eb.zip kdepimpi-36dd498ad2f5a2cf43fc08c621669fe42198e5eb.tar.gz kdepimpi-36dd498ad2f5a2cf43fc08c621669fe42198e5eb.tar.bz2 |
fix
-rw-r--r-- | kmicromail/accountview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kmicromail/accountview.cpp b/kmicromail/accountview.cpp index e9be224..6227f6d 100644 --- a/kmicromail/accountview.cpp +++ b/kmicromail/accountview.cpp | |||
@@ -102,8 +102,10 @@ void AccountView::refreshOutgoing() | |||
102 | { | 102 | { |
103 | m_currentItem = currentItem(); | 103 | m_currentItem = currentItem(); |
104 | if ( !m_currentItem ) return; | 104 | if ( !m_currentItem ) return; |
105 | AccountViewItem *view = static_cast<AccountViewItem *>(m_currentItem); | 105 | AccountViewItem *view = static_cast<AccountViewItem *>(m_currentItem); |
106 | if ( !view->getFolder() ) | ||
107 | return; | ||
106 | QString bName = view->getFolder()->getDisplayName(); | 108 | QString bName = view->getFolder()->getDisplayName(); |
107 | if (bName.startsWith("/")&&bName.length()>1) | 109 | if (bName.startsWith("/")&&bName.length()>1) |
108 | { | 110 | { |
109 | bName.replace(0,1,""); | 111 | bName.replace(0,1,""); |