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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/kmail
From:       Carsten Burghardt <burghardt () kde ! org>
Date:       2006-10-02 11:24:35
Message-ID: 1159788275.796560.1224.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 591359 by burghard:

Do not crash if we have no prefixes

 M  +6 -0      subscriptiondialog.cpp  


--- branches/KDE/3.5/kdepim/kmail/subscriptiondialog.cpp #591358:591359
@@ -316,6 +316,12 @@
     {
       mSubscribed = true;
       initPrefixList();
+      if ( mPrefixList.isEmpty() )
+      {
+          // still empty? then we have nothing to do here as this is an error
+          slotLoadingComplete();
+          return;
+      }
     } else {
       slotLoadingComplete();
       return;
[prev in list] [next in list] [prev in thread] [next in thread] 

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