Summary: | Kmail crashes on load while holding down 's' | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | Ron <ginsu.squirrel> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Ron
2004-02-05 23:49:56 UTC
Subject: kdepim/kmail CVS commit by sanders: CCMAIL:74297-done@bugs.kde.org Yes I can reproduce this, looks like a little folder storage regression. Hopefully should be fixed now, thanks for your bug report Ron. M +3 -1 kmfldsearch.cpp 1.124 --- kdepim/kmail/kmfldsearch.cpp #1.123:1.124 @@ -101,5 +101,7 @@ KMFldSearch::KMFldSearch(KMMainWidget* w mPatternEdit->setInsideMargin( 0 ); mSearchPattern = new KMSearchPattern(); - KMFolderSearch *searchFolder = dynamic_cast<KMFolderSearch*>(curFolder->storage()); + KMFolderSearch *searchFolder = 0; + if (curFolder) + searchFolder = dynamic_cast<KMFolderSearch*>(curFolder->storage()); if (searchFolder) { KConfig config(curFolder->location()); |