okular: adjust to KCursor change

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-09-30 01:33:22 +03:00
parent ab38ac562d
commit 7afeb98ab1

View file

@ -1446,7 +1446,7 @@ void PresentationWidget::togglePencilMode( bool on )
annElem.setAttribute( "color", colorstring ); annElem.setAttribute( "color", colorstring );
annElem.setAttribute( "width", "2" ); annElem.setAttribute( "width", "2" );
m_drawingEngine = new SmoothPathEngine( root ); m_drawingEngine = new SmoothPathEngine( root );
setCursor( KCursor( "pencil", Qt::ArrowCursor ) ); setCursor( KCursor::fromName( "pencil", Qt::ArrowCursor ) );
} }
else else
{ {