Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Accessibility
KMag
Commits
60a7b022
Commit
60a7b022
authored
Aug 31, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port away from deprecated Qt::MidButton
parent
606c65c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kmagzoomview.cpp
kmagzoomview.cpp
+2
-2
No files found.
kmagzoomview.cpp
View file @
60a7b022
...
...
@@ -542,7 +542,7 @@ void KMagZoomView::mousePressEvent(QMouseEvent *e)
}
break
;
case
Qt
::
MidButton
:
case
Qt
::
Mid
dle
Button
:
// check if currently in move mode
// don't do anything if follow mouse is enabled
if
((
m_mouseMode
!=
MoveSelection
)
&&
!
m_followMouse
)
{
...
...
@@ -584,7 +584,7 @@ void KMagZoomView::mouseReleaseEvent(QMouseEvent *e)
{
switch
(
e
->
button
())
{
case
Qt
::
LeftButton
:
case
Qt
::
MidButton
:
case
Qt
::
Mid
dle
Button
:
// check if currently in move mode
if
(
m_mouseMode
==
MoveSelection
)
{
// hide the selection window
...
...
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