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
f70f952e
Commit
f70f952e
authored
Nov 15, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix warning
parent
10ea2299
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
f70f952e
...
...
@@ -4554,12 +4554,11 @@ bool MainWindow::eventFilter(QObject *object, QEvent *event)
void
MainWindow
::
slotRemoveBinDock
(
const
QString
&
name
)
{
QWidget
*
toDelete
=
nullptr
;
Bin
*
prev
=
nullptr
;
int
ix
=
0
;
for
(
auto
&
b
:
m_binWidgets
)
{
if
(
b
->
parentWidget
()
->
objectName
()
==
name
)
{
toDelete
=
b
->
parentWidget
();
prev
=
m_binWidgets
.
takeAt
(
ix
);
m_binWidgets
.
takeAt
(
ix
);
break
;
}
ix
++
;
...
...
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