Commit 7e04a679 authored by Aurélien Gâteau's avatar Aurélien Gâteau Committed by Tobias Hunger

Fix wrong cursor in vcs log editor

When cursor leaves a change, reset its shape and remove underline on the
change.

Change-Id: Idedafefc57338a32fdaa773fc4a41c0f0527a5b8
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent de0fcfaa
......@@ -952,11 +952,11 @@ void VcsBaseEditorWidget::mouseMoveEvent(QMouseEvent *e)
handler->highlightCurrentContents();
overrideCursor = true;
cursorShape = Qt::PointingHandCursor;
} else {
setExtraSelections(OtherSelection, QList<QTextEdit::ExtraSelection>());
overrideCursor = true;
cursorShape = Qt::IBeamCursor;
}
} else {
setExtraSelections(OtherSelection, QList<QTextEdit::ExtraSelection>());
overrideCursor = true;
cursorShape = Qt::IBeamCursor;
}
TextEditor::BaseTextEditorWidget::mouseMoveEvent(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment