View Revisions: Issue #15974

Summary 0015974: Simplify CanvasMode::setModeCursor() by using CanvasMode::modeCursor()
Revision 2019-11-29 10:32 by ale
Description is there a real performance reason for not doing

CanvasMode::CanvasModeSetCursor()
{
     m_view->setCursor(modeCursor());
}

also, ScribusMainWindow::setAppMode() does not seem to exist anymore and it might be possible to remove the comment at the beginning of setModeCursor().
Revision 2019-11-29 10:31 by ale
Description is there a real performance reason for not doing

CanvasMode::CanvasModeSetCursor()
{
     setCursor(modeCursor());
}

also, ScribusMainWindow::setAppMode() does not seem to exist anymore and it might be possible to remove the comment at the beginning of setModeCursor().
Revision 2019-11-29 10:31 by ale
Description is there a real performance reason for not doing

CanvasMode::CanvasModeSetCursor()
{
     m_view->setCursor(modeCursor());
}

also, ScribusMainWindow::setAppMode() does not seem to exist anymore and it might be possible to remove the comment at the beginning of setModeCursor().