Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
KImageMap Editor
Commits
afb943b6
Commit
afb943b6
authored
Oct 08, 2022
by
Kai Uwe Broulik
🍇
Browse files
Port from `Qt::MidButton`
It's `Qt::MiddleButton` now
parent
7d9684b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
drawzone.cpp
View file @
afb943b6
...
...
@@ -398,7 +398,7 @@ void DrawZone::mousePressNone(QMouseEvent* e, QPoint drawStart, QPoint zoomedPoi
if
(
e
->
button
()
==
Qt
::
RightButton
)
{
mousePressRightNone
(
e
,
drawStart
);
}
else
{
if
(
e
->
button
()
==
Qt
::
MidButton
)
{
if
(
e
->
button
()
==
Qt
::
Mid
dle
Button
)
{
mouseDoubleClickEvent
(
e
);
}
else
{
mousePressLeftNone
(
e
,
drawStart
,
zoomedPoint
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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