Stop fighting over which mouse cursor to show on text editor
The BaseTextEditor was unconditionally setting the mouse cursor on each mouse move event, after which the CPPEditor would set it as well when the mouse was above a link. This caused some mouse cursor flickering, so now the cursor is only set when it's supposed to change. Also fixed an issue where the link wasn't removed when leaving the text editor with the mouse while Ctrl was pressed.
Showing
- src/plugins/cppeditor/cppeditor.cpp 38 additions, 28 deletionssrc/plugins/cppeditor/cppeditor.cpp
- src/plugins/cppeditor/cppeditor.h 5 additions, 0 deletionssrc/plugins/cppeditor/cppeditor.h
- src/plugins/texteditor/basetexteditor.cpp 14 additions, 5 deletionssrc/plugins/texteditor/basetexteditor.cpp
- src/plugins/texteditor/basetexteditor_p.h 1 addition, 0 deletionssrc/plugins/texteditor/basetexteditor_p.h
Loading
Please register or sign in to comment