Maybe we're restoring too much.
This commit is contained in:
parent
eac6b4f983
commit
2c5d33839b
@ -135,7 +135,6 @@ PartitionBarsView::drawSection( QPainter* painter, const QRect& rect_, int x, in
|
|||||||
rect.adjust( 0, 0, -1, -1 );
|
rect.adjust( 0, 0, -1, -1 );
|
||||||
|
|
||||||
|
|
||||||
QGuiApplication::restoreOverrideCursor();
|
|
||||||
if ( selectionMode() != QAbstractItemView::NoSelection && // no hover without selection
|
if ( selectionMode() != QAbstractItemView::NoSelection && // no hover without selection
|
||||||
m_hoveredIndex.isValid() &&
|
m_hoveredIndex.isValid() &&
|
||||||
index == m_hoveredIndex )
|
index == m_hoveredIndex )
|
||||||
@ -151,6 +150,7 @@ PartitionBarsView::drawSection( QPainter* painter, const QRect& rect_, int x, in
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
painter->setBrush( color );
|
painter->setBrush( color );
|
||||||
|
QGuiApplication::restoreOverrideCursor();
|
||||||
}
|
}
|
||||||
|
|
||||||
QColor borderColor = color.darker();
|
QColor borderColor = color.darker();
|
||||||
|
Loading…
Reference in New Issue
Block a user