Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
6479b201
Commit
6479b201
authored
Jul 21, 2009
by
Robert Loehning
Browse files
Fixed: Mouse-navigation could not be disabled.
Reviewed-By: dt
parent
e5076f63
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppeditor.cpp
View file @
6479b201
...
...
@@ -1384,7 +1384,8 @@ void CPPEditor::mouseMoveEvent(QMouseEvent *e)
void
CPPEditor
::
mouseReleaseEvent
(
QMouseEvent
*
e
)
{
if
(
e
->
modifiers
()
&
Qt
::
ControlModifier
&&
!
(
e
->
modifiers
()
&
Qt
::
ShiftModifier
)
if
(
m_mouseNavigationEnabled
&&
e
->
modifiers
()
&
Qt
::
ControlModifier
&&
!
(
e
->
modifiers
()
&
Qt
::
ShiftModifier
)
&&
e
->
button
()
==
Qt
::
LeftButton
)
{
const
QTextCursor
cursor
=
cursorForPosition
(
e
->
pos
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment