summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp b/core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp
index d173444..24a68ed 100644
--- a/core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp
+++ b/core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp
@@ -11,13 +11,13 @@ DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool /* onM */,
11 date=d; 11 date=d;
12 12
13 static const QString wdays=tr("MTWTFSSM", "Week days"); 13 static const QString wdays=tr("MTWTFSSM", "Week days");
14 char day=wdays[d.dayOfWeek()-1]; 14 char day=wdays[d.dayOfWeek()-1];
15 15
16 //dont use dayOfWeek() to save space ! 16 //dont use dayOfWeek() to save space !
17 label->setText( QString(QObject::tr(QString(QChar(day)))) + " " +QString::number(d.day()) ); 17 label->setText( QString(QString(QChar(day))) + " " +QString::number(d.day()) );
18 18
19 add->setText("+"); 19 add->setText("+");
20 20
21 if (d == QDate::currentDate()) { 21 if (d == QDate::currentDate()) {
22 QPalette pal=label->palette(); 22 QPalette pal=label->palette();
23 pal.setColor(QColorGroup::Foreground, QColor(0,0,255)); 23 pal.setColor(QColorGroup::Foreground, QColor(0,0,255));