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
da8d326a
Commit
da8d326a
authored
Dec 08, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix project profile creation dialog not updating properties on profile selection
parent
901014fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/profilesdialog.cpp
View file @
da8d326a
...
@@ -72,7 +72,7 @@ ProfilesDialog::ProfilesDialog(const QString &profileDescription, QWidget *paren
...
@@ -72,7 +72,7 @@ ProfilesDialog::ProfilesDialog(const QString &profileDescription, QWidget *paren
void
ProfilesDialog
::
connectDialog
()
void
ProfilesDialog
::
connectDialog
()
{
{
connect
(
m_view
.
profiles_list
,
static_cast
<
void
(
QComboBox
::*
)(
int
)
>
(
&
QComboBox
::
currentIndexChanged
),
this
,
[
&
](
int
ix
)
{
slotUpdateDisplay
(
m_view
.
profiles_list
->
item
Text
(
ix
));
});
connect
(
m_view
.
profiles_list
,
static_cast
<
void
(
QComboBox
::*
)(
int
)
>
(
&
QComboBox
::
currentIndexChanged
),
this
,
[
&
](
int
ix
)
{
slotUpdateDisplay
(
m_view
.
profiles_list
->
item
Data
(
ix
).
toString
(
));
});
connect
(
m_view
.
button_create
,
&
QAbstractButton
::
clicked
,
this
,
&
ProfilesDialog
::
slotCreateProfile
);
connect
(
m_view
.
button_create
,
&
QAbstractButton
::
clicked
,
this
,
&
ProfilesDialog
::
slotCreateProfile
);
connect
(
m_view
.
button_save
,
&
QAbstractButton
::
clicked
,
this
,
&
ProfilesDialog
::
slotSaveProfile
);
connect
(
m_view
.
button_save
,
&
QAbstractButton
::
clicked
,
this
,
&
ProfilesDialog
::
slotSaveProfile
);
connect
(
m_view
.
button_delete
,
&
QAbstractButton
::
clicked
,
this
,
&
ProfilesDialog
::
slotDeleteProfile
);
connect
(
m_view
.
button_delete
,
&
QAbstractButton
::
clicked
,
this
,
&
ProfilesDialog
::
slotDeleteProfile
);
...
...
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