mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Logical and is '&&' not 'and'
.. annoyingly gcc allows this which is why I keep making this silly mistake.
This commit is contained in:
@@ -2427,7 +2427,7 @@ DataOverviewItem::itemPaint(QPainter *painter, const QStyleOptionGraphicsItem *,
|
||||
QRectF paintarea = QRectF(20,ROWHEIGHT*2, geometry().width()-40, geometry().height()-20-(ROWHEIGHT*2));
|
||||
|
||||
// paint the hover background
|
||||
if (underMouse() and files.count()) {
|
||||
if (underMouse() && files.count()) {
|
||||
QRectF dataarea = paintarea;
|
||||
dataarea.setY(dataarea.y() + (lineheight*2) + (lineheight*0.25f)); // 0.2 is the line spacing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user