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
ce28f4d2
Commit
ce28f4d2
authored
May 27, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix crash changing clip monitor bg color when no clip is selected
parent
66085873
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
ce28f4d2
...
...
@@ -691,7 +691,11 @@ void Monitor::slotForceSize(QAction *a)
updateGeometry
();
}
void
Monitor
::
buildBackgroundedProducer
(
int
pos
)
{
void
Monitor
::
buildBackgroundedProducer
(
int
pos
)
{
if
(
m_controller
==
nullptr
)
{
return
;
}
if
(
KdenliveSettings
::
monitor_background
()
!=
"black"
)
{
Mlt
::
Tractor
trac
(
pCore
->
getCurrentProfile
()
->
profile
());
QString
color
=
QString
(
"color:%1"
).
arg
(
KdenliveSettings
::
monitor_background
());
...
...
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