summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -5,25 +5,25 @@
DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool /* onM */,
QWidget* parent,
const char* name,
WFlags fl )
: DateBookWeekLstDayHdrBase(parent, name, fl) {
date=d;
static const QString wdays=tr("MTWTFSSM", "Week days");
char day=wdays[d.dayOfWeek()-1];
//dont use dayOfWeek() to save space !
- label->setText( QString(QObject::tr(QString(QChar(day)))) + " " +QString::number(d.day()) );
+ label->setText( QString(QString(QChar(day))) + " " +QString::number(d.day()) );
add->setText("+");
if (d == QDate::currentDate()) {
QPalette pal=label->palette();
pal.setColor(QColorGroup::Foreground, QColor(0,0,255));
label->setPalette(pal);
/*
QFont f=label->font();
f.setItalic(true);
label->setFont(f);