Try to make it more robust.
This commit is contained in:
parent
10c51528a9
commit
5eb6f6799e
@ -476,13 +476,16 @@ PartitionSplitterWidget::drawPartitions( QPainter* painter,
|
||||
}
|
||||
|
||||
if ( m_itemToResize &&
|
||||
item.itemPath == m_itemToResize->itemPath )
|
||||
m_resizeHandleX = x + width;
|
||||
m_itemToResizeNext &&
|
||||
items[ row - 1 ] == m_itemToResize->itemPath )
|
||||
m_resizeHandleX = x;
|
||||
|
||||
x += width;
|
||||
}
|
||||
if ( m_itemToResize && m_itemToResizeNext )
|
||||
{
|
||||
drawResizeHandle( painter, rect, m_resizeHandleX );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user