Restore the cursor.
This commit is contained in:
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…
Reference in New Issue
Block a user