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
Multimedia
Kdenlive
Commits
69fae3a3
Commit
69fae3a3
authored
Nov 04, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix possible settings dialog crash.
Fixes
#1567
parent
b9c69e42
Pipeline
#261216
failed with stage
in 6 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/encodingprofilesdialog.cpp
View file @
69fae3a3
...
...
@@ -404,7 +404,7 @@ void EncodingTimelinePreviewProfilesChooser::filterPreviewProfiles(const QString
item
->
setFlags
(
item
->
flags
()
|
Qt
::
ItemIsEnabled
);
}
QStandardItem
*
item
=
model
->
item
(
current
);
if
(
!
(
item
->
flags
()
&
Qt
::
ItemIsEnabled
))
{
if
(
!
item
||
!
(
item
->
flags
()
&
Qt
::
ItemIsEnabled
))
{
// Currently selected profile is not usable, switch back to automatic
for
(
int
i
=
0
;
i
<
max
;
i
++
)
{
if
(
m_profilesCombo
->
itemData
(
i
).
isNull
())
{
...
...
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