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
Utilities
Filelight
Commits
71e1f2b3
Commit
71e1f2b3
authored
Aug 31, 2020
by
Laurent Montel
😁
Browse files
Using no deprecated enum Qt::MiddleButton
parent
6141c222
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/radialMap/widgetEvents.cpp
View file @
71e1f2b3
...
...
@@ -277,7 +277,7 @@ void RadialMap::Widget::mousePressEvent(QMouseEvent *e)
const
bool
isDir
=
m_focus
->
file
()
->
isFolder
();
// Open file
if
(
e
->
button
()
==
Qt
::
MidButton
||
(
e
->
button
()
==
Qt
::
LeftButton
&&
!
isDir
))
{
if
(
e
->
button
()
==
Qt
::
Mid
dle
Button
||
(
e
->
button
()
==
Qt
::
LeftButton
&&
!
isDir
))
{
new
KRun
(
url
,
this
,
true
);
return
;
...
...
Write
Preview
Supports
Markdown
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