From e9aba5a512692b3a3af23d6ba4e2bc590ae8e78c Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Fri, 15 Mar 2013 21:06:00 +0000 Subject: [PATCH] UI Nits: Side Calendar border .. fixed bug in GcLabel::paint that makes a nasty border on the day which makes it look like a button. yuck. --- src/GcCalendar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GcCalendar.cpp b/src/GcCalendar.cpp index 7cbabd3ba..54524b8af 100644 --- a/src/GcCalendar.cpp +++ b/src/GcCalendar.cpp @@ -160,7 +160,7 @@ GcLabel::paintEvent(QPaintEvent *) else painter.fillRect(all, Qt::lightGray); painter.setPen(Qt::gray); - painter.drawRect(QRect(0,0,width()-1,height()-1)); + painter.drawRect(QRect(0,0,width(),height())); } if (selected) {