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
Kate
Commits
8abfd510
Commit
8abfd510
authored
Nov 10, 2020
by
Robert-André Mauchin
Browse files
Port away from deprecated Qt::MidButton
Fix #428918
parent
a51e0eb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/katetabbar.cpp
View file @
8abfd510
...
...
@@ -133,7 +133,7 @@ void KateTabBar::mousePressEvent(QMouseEvent *event)
QTabBar
::
mousePressEvent
(
event
);
// handle close for middle mouse button
if
(
event
->
button
()
==
Qt
::
MidButton
)
{
if
(
event
->
button
()
==
Qt
::
Mid
dle
Button
)
{
int
id
=
tabAt
(
event
->
pos
());
if
(
id
>=
0
)
{
emit
tabCloseRequested
(
id
);
...
...
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