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
Multimedia
Kdenlive
Commits
5a8ac122
Commit
5a8ac122
authored
Jan 31, 2021
by
Jean-Baptiste Mardelle
Browse files
WHen dragging, hover on tab will focus the tab. Make it work from start
Related to
#929
parent
b08ff211
Pipeline
#49155
passed with stage
in 10 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/hidetitlebars.cpp
View file @
5a8ac122
...
...
@@ -32,8 +32,11 @@ void HideTitleBars::slotInstallRightClick()
QList
<
QTabBar
*>
tabs
=
pCore
->
window
()
->
findChildren
<
QTabBar
*>
();
for
(
QTabBar
*
tab
:
qAsConst
(
tabs
))
{
tab
->
setContextMenuPolicy
(
Qt
::
CustomContextMenu
);
tab
->
setAcceptDrops
(
true
);
tab
->
setChangeCurrentOnDrag
(
true
);
connect
(
tab
,
&
QWidget
::
customContextMenuRequested
,
this
,
&
HideTitleBars
::
slotSwitchTitleBars
);
}
// connect
QList
<
QDockWidget
*>
docks
=
pCore
->
window
()
->
findChildren
<
QDockWidget
*>
();
for
(
QDockWidget
*
dock
:
qAsConst
(
docks
))
{
...
...
Eugen Mohr
@emohr
mentioned in issue
#929 (closed)
·
Feb 09, 2021
mentioned in issue
#929 (closed)
mentioned in issue #929
Toggle commit list
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