Restore the cursor.

main
Teo Mrnjavac 10 years ago
parent adbf0c7276
commit 9757de0d2c

@ -473,6 +473,8 @@ PartitionBarsView::mouseMoveEvent( QMouseEvent* event )
m_hoveredIndex = candidateIndex; m_hoveredIndex = candidateIndex;
if ( !canBeSelected( candidateIndex ) ) if ( !canBeSelected( candidateIndex ) )
QGuiApplication::setOverrideCursor( Qt::ForbiddenCursor ); QGuiApplication::setOverrideCursor( Qt::ForbiddenCursor );
else
QGuiApplication::restoreOverrideCursor();
} }
else else
{ {

Loading…
Cancel
Save