summaryrefslogtreecommitdiffstats
path: root/korganizer/kodaymatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kodaymatrix.cpp')
-rw-r--r--korganizer/kodaymatrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp
index d84340789..cf6fa1021 100644
--- a/korganizer/kodaymatrix.cpp
+++ b/korganizer/kodaymatrix.cpp
@@ -717,7 +717,7 @@ TQPair<TQDate,TQDate> KODayMatrix::matrixLimits( const TQDate &month )
calSys->setYMD( d, calSys->year( month ), calSys->month( month ), 1 );
const int dayOfWeek = calSys->dayOfWeek( d );
- const int weekstart = KGlobal::locale()->weekStartDay();
+ const int weekstart = TDEGlobal::locale()->weekStartDay();
d = d.addDays( weekstart - dayOfWeek );