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
fbb6ebf8
Commit
fbb6ebf8
authored
Mar 20, 2022
by
Julius Künzel
Browse files
[Render Presets] Always disable "Scanning" properly if "Progressive"
parent
a3b8301d
Pipeline
#152765
passed with stage
in 5 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/renderpresetdialog.cpp
View file @
fbb6ebf8
...
...
@@ -111,6 +111,11 @@ RenderPresetDialog::RenderPresetDialog(QWidget *parent, RenderPresetModel *prese
slotUpdateParams
();
});
connect
(
scanningCombo
,
&
QComboBox
::
currentTextChanged
,
this
,
[
&
](){
fieldOrderCombo
->
setEnabled
(
scanningCombo
->
currentIndex
()
!=
1
);
slotUpdateParams
();
});
groupName
->
addItems
(
RenderPresetRepository
::
get
()
->
groupNames
());
std
::
unique_ptr
<
ProfileModel
>
&
projectProfile
=
pCore
->
getCurrentProfile
();
...
...
@@ -320,10 +325,7 @@ RenderPresetDialog::RenderPresetDialog(QWidget *parent, RenderPresetModel *prese
connect
(
formatCombo
,
&
QComboBox
::
currentTextChanged
,
this
,
&
RenderPresetDialog
::
slotUpdateParams
);
connect
(
vCodecCombo
,
&
QComboBox
::
currentTextChanged
,
this
,
&
RenderPresetDialog
::
slotUpdateParams
);
connect
(
scanningCombo
,
&
QComboBox
::
currentTextChanged
,
this
,
[
&
](){
fieldOrderCombo
->
setEnabled
(
scanningCombo
->
currentIndex
()
!=
1
);
slotUpdateParams
();
});
connect
(
fieldOrderCombo
,
&
QComboBox
::
currentTextChanged
,
this
,
&
RenderPresetDialog
::
slotUpdateParams
);
connect
(
aCodecCombo
,
&
QComboBox
::
currentTextChanged
,
this
,
&
RenderPresetDialog
::
slotUpdateParams
);
connect
(
resWidth
,
static_cast
<
void
(
QSpinBox
::*
)(
int
)
>
(
&
QSpinBox
::
valueChanged
),
this
,
&
RenderPresetDialog
::
slotUpdateParams
);
...
...
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