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

List:       kde-commits
Subject:    extragear/office/kmymoney/kmymoney
From:       Alvaro Soliverez <asoliverez () gmail ! com>
Date:       2010-08-15 23:18:47
Message-ID: 20100815231847.BA600AC854 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1164112 by asoliverez:

Removed incorrect break statement

BUG:247912

 M  +2 -4      kmymoney.cpp  


--- trunk/extragear/office/kmymoney/kmymoney/kmymoney.cpp #1164111:1164112
@@ -6961,14 +6961,12 @@
       //if it is not a processing day, set it to false
       if (!d->m_processingDays.testBit(date.dayOfWeek())) {
         d->m_holidayMap.insert(date, false);
-        break;
-      }
-
+      } else if (!d->m_holidayMap.contains(date)) {
       //if it is not a holiday nor a weekend, it is a processing day
-      if (!d->m_holidayMap.contains(date))
         d->m_holidayMap.insert(date, true);
     }
   }
+  }
 #endif
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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