Restore the cursor.

This commit is contained in:
Teo Mrnjavac 2016-02-16 14:21:38 +01:00
parent adbf0c7276
commit 9757de0d2c

View File

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