[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 74297] Kmail crashes on load while holding down 's'
From:       Don Sanders <don () sanders ! org>
Date:       2004-02-06 4:39:58
Message-ID: 20040206043958.16455.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=74297      
don@sanders.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From don@sanders.org  2004-02-06 05:39 -------
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());
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic