From: Jason Harris Date: Mon, 29 Oct 2007 04:07:07 +0000 (+0000) Subject: Make ExtDateTable highlight the correct date in its calendar grid. X-Git-Tag: v3.96.0~16 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=a51e12a8e0e924cebbafff2b2dc7e99530cb0522;p=libqmvoc.git Make ExtDateTable highlight the correct date in its calendar grid. svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=730519 --- diff --git a/extdate/extdatetbl.cpp b/extdate/extdatetbl.cpp index c652f24..97867ab 100644 --- a/extdate/extdatetbl.cpp +++ b/extdate/extdatetbl.cpp @@ -283,7 +283,7 @@ ExtDateTable::paintCell(QPainter *painter, int row, int col) offset+=7; int dy = d->calendar->day(date); // if( ((offset+dy) == (pos+1)) && hasFocus()) - if( ((offset+dy) == (pos+2)) && hasFocus()) + if( ((offset+dy) == (pos+1)) && hasFocus()) { // draw the currently selected date painter->setPen(palette().color(QPalette::Highlight));