From: Jason Harris Date: Fri, 3 Mar 2006 06:11:00 +0000 (+0000) Subject: Highlight correct date X-Git-Tag: v3.80.2~153 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=a52dcba2a31a99681f2585e3e9c24fbb20c918ab;p=libqmvoc.git Highlight correct date svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=515217 --- diff --git a/extdate/extdatetbl.cpp b/extdate/extdatetbl.cpp index d4d7e6d..a43f5ee 100644 --- a/extdate/extdatetbl.cpp +++ b/extdate/extdatetbl.cpp @@ -282,7 +282,8 @@ ExtDateTable::paintCell(QPainter *painter, int row, int col) if(offset<1) offset+=7; int dy = d->calendar->day(date); - if( ((offset+dy) == (pos+1)) && hasFocus()) + // if( ((offset+dy) == (pos+1)) && hasFocus()) + if( ((offset+dy) == (pos+2)) && hasFocus()) { // draw the currently selected date painter->setPen(colorGroup().highlight());