[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kalarm
From: David Jarvie <software () astrojar ! org ! uk>
Date: 2004-02-24 20:46:11
Message-ID: 20040224204611.D76629963 () office ! kde ! org
[Download RAW message or body]
CVS commit by djarvie:
Fix whatsThis text on bottom row of alarm list
M +2 -1 alarmlistview.cpp 1.32
--- kdepim/kalarm/alarmlistview.cpp #1.31:1.32
@@ -599,7 +599,8 @@ QString AlarmListViewItem::key(int colum
QString AlarmListWhatsThis::text(const QPoint& pt)
{
+ QPoint viewportPt = listView->viewport()->mapFrom(listView, pt);
QRect frame = listView->header()->frameGeometry();
if (frame.contains(pt)
- || listView->itemAt(QPoint(listView->itemMargin(), pt.y())) && \
frame.contains(QPoint(pt.x(), frame.y()))) + || \
listView->itemAt(QPoint(listView->itemMargin(), viewportPt.y())) && \
frame.contains(QPoint(pt.x(), frame.y()))) {
int column = listView->header()->sectionAt(pt.x());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic