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

List:       kde-commits
Subject:    KDE/kdepim/korganizer
From:       John Layt <john () layt ! net>
Date:       2010-09-17 9:17:56
Message-ID: 20100917091756.5FBA3AC888 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1176286 by jlayt:

Use locale setting for dayOfPray, not deprecated calendar setting.

Partial forward port from 4.5 of r1176162


 M  +1 -1      kodaymatrix.cpp  


--- trunk/KDE/kdepim/korganizer/kodaymatrix.cpp #1176285:1176286
@@ -241,7 +241,7 @@
     QString holiStr;
 
     if ( ( KOGlobals::self()->calendarSystem()->dayOfWeek( mDays[i] ) ==
-           KOGlobals::self()->calendarSystem()->weekDayOfPray() ) ||
+           KGlobal::locale()->weekDayOfPray() ) ||
          !holidays.isEmpty() ) {
       if ( !holidays.isEmpty() ) {
         holiStr = holidays.join( i18nc( "delimiter for joining holiday names", "," ) );
[prev in list] [next in list] [prev in thread] [next in thread] 

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