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
Utilities
Kate
Commits
4941054e
Commit
4941054e
authored
Jul 21, 2022
by
Waqar Ahmed
Browse files
Tabbar: Provide a drop action when starting drag
Otherwise the "+" icon feedback isn't there.
parent
32cfd881
Pipeline
#207392
passed with stage
in 10 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/katetabbar.cpp
View file @
4941054e
...
...
@@ -263,7 +263,7 @@ void KateTabBar::mouseMoveEvent(QMouseEvent *event)
drag
->
setHotSpot
(
hp
);
dragStartPos
=
{};
drag
->
exec
();
drag
->
exec
(
Qt
::
CopyAction
);
// We send this even to ensure the "moveable tab" is properly reset and we have no dislocated tabs
QMouseEvent
*
e
=
new
QMouseEvent
(
QEvent
::
MouseButtonPress
,
QPoint
(),
Qt
::
LeftButton
,
Qt
::
LeftButton
,
Qt
::
NoModifier
);
...
...
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