mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
Add debug output.
This commit is contained in:
parent
c2cb367753
commit
7c80f846f1
1 changed files with 13 additions and 0 deletions
|
@ -238,11 +238,24 @@ PartitionBarsView::indexAt( const QPoint &point,
|
|||
rect.height() - 2 * EXTENDED_PARTITION_MARGIN
|
||||
);
|
||||
if ( subRect.contains( point ) )
|
||||
{
|
||||
cDebug() << "point:" << point
|
||||
<< "\t\trect:" << subRect
|
||||
<< "\t\tindex:" << item.index.data();
|
||||
return indexAt( point, subRect, item.index );
|
||||
}
|
||||
cDebug() << "point:" << point
|
||||
<< "\t\trect:" << thisItemRect
|
||||
<< "\t\tindex:" << item.index.data();
|
||||
return item.index;
|
||||
}
|
||||
else // contains but no children, we win
|
||||
{
|
||||
cDebug() << "point:" << point
|
||||
<< "\t\trect:" << thisItemRect
|
||||
<< "\t\tindex:" << item.index.data();
|
||||
return item.index;
|
||||
}
|
||||
}
|
||||
x += width;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue