Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
David Hurka
KXMLGUI
Commits
1e9929a5
Commit
1e9929a5
authored
Aug 31, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using no deprecated enum Qt::MiddleButton
parent
39f7171d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/kcheckaccelerators.cpp
src/kcheckaccelerators.cpp
+1
-1
No files found.
src/kcheckaccelerators.cpp
View file @
1e9929a5
...
...
@@ -165,7 +165,7 @@ bool KCheckAccelerators::eventFilter(QObject *obj, QEvent *e)
break
;
//case QEvent::MouseButtonDblClick:
case
QEvent
::
MouseButtonPress
:
if
(
copyWidgetText
&&
static_cast
<
QMouseEvent
*>
(
e
)
->
button
()
==
Qt
::
MidButton
)
{
if
(
copyWidgetText
&&
static_cast
<
QMouseEvent
*>
(
e
)
->
button
()
==
Qt
::
Mid
dle
Button
)
{
//kWarning()<<"obj"<<obj;
QWidget
*
w
=
static_cast
<
QWidget
*>
(
obj
)
->
childAt
(
static_cast
<
QMouseEvent
*>
(
e
)
->
pos
());
if
(
!
w
)
{
...
...
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