Commit a5c067fb authored by Allen Winter's avatar Allen Winter
Browse files

month/monthscene.cpp - remove comma in year (in the title)

BUG: 412833

Differential Revision: https://phabricator.kde.org/D24638
parent 8aebd8e6
...@@ -200,7 +200,7 @@ void MonthGraphicsView::drawBackground(QPainter *p, const QRectF &rect) ...@@ -200,7 +200,7 @@ void MonthGraphicsView::drawBackground(QPainter *p, const QRectF &rect)
Qt::AlignCenter, Qt::AlignCenter,
i18nc("monthname year", "%1 %2", i18nc("monthname year", "%1 %2",
QLocale::system().standaloneMonthName(mMonthView->averageDate().month()), QLocale::system().standaloneMonthName(mMonthView->averageDate().month()),
mMonthView->averageDate().year())); QString::number(mMonthView->averageDate().year())));
font.setPointSize(dayLabelsHeight - 10); font.setPointSize(dayLabelsHeight - 10);
p->setFont(font); p->setFont(font);
...@@ -293,7 +293,7 @@ void MonthGraphicsView::drawBackground(QPainter *p, const QRectF &rect) ...@@ -293,7 +293,7 @@ void MonthGraphicsView::drawBackground(QPainter *p, const QRectF &rect)
} else { } else {
p->setBrush(color.lighter(140)); p->setBrush(color.lighter(140));
} }
bgGradient.setColorAt(1, color); bgGradient.setColorAt(1, color);
p->setPen(Qt::NoPen); p->setPen(Qt::NoPen);
...@@ -312,7 +312,7 @@ void MonthGraphicsView::drawBackground(QPainter *p, const QRectF &rect) ...@@ -312,7 +312,7 @@ void MonthGraphicsView::drawBackground(QPainter *p, const QRectF &rect)
} else { } else {
oldPen = palette().color(QPalette::WindowText).darker(150); oldPen = palette().color(QPalette::WindowText).darker(150);
} }
// Draw dates // Draw dates
for (QDate d = mMonthView->actualStartDateTime().date(); for (QDate d = mMonthView->actualStartDateTime().date();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment