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
0b60b1e9
Commit
0b60b1e9
authored
Jan 26, 2021
by
Jean-Baptiste Mardelle
Browse files
Expose proxy info in playlist clip properties (to allow delete, etc).
Related to
#928
parent
617c3acb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mltcontroller/clippropertiescontroller.cpp
View file @
0b60b1e9
...
@@ -425,11 +425,13 @@ ClipPropertiesController::ClipPropertiesController(ClipController *controller, Q
...
@@ -425,11 +425,13 @@ ClipPropertiesController::ClipPropertiesController(ClipController *controller, Q
connect
(
box
,
&
QAbstractButton
::
toggled
,
spin1
,
&
QWidget
::
setEnabled
);
connect
(
box
,
&
QAbstractButton
::
toggled
,
spin1
,
&
QWidget
::
setEnabled
);
connect
(
box
,
&
QAbstractButton
::
toggled
,
spin2
,
&
QWidget
::
setEnabled
);
connect
(
box
,
&
QAbstractButton
::
toggled
,
spin2
,
&
QWidget
::
setEnabled
);
vbox
->
addLayout
(
hlay
);
vbox
->
addLayout
(
hlay
);
}
if
(
m_type
==
ClipType
::
AV
||
m_type
==
ClipType
::
Video
||
m_type
==
ClipType
::
Image
||
m_type
==
ClipType
::
Playlist
)
{
// Proxy
// Proxy
QString
proxy
=
m_properties
->
get
(
"kdenlive:proxy"
);
QString
proxy
=
m_properties
->
get
(
"kdenlive:proxy"
);
m_originalProperties
.
insert
(
QStringLiteral
(
"kdenlive:proxy"
),
proxy
);
m_originalProperties
.
insert
(
QStringLiteral
(
"kdenlive:proxy"
),
proxy
);
hlay
=
new
QHBoxLayout
;
QHBoxLayout
*
hlay
=
new
QHBoxLayout
;
auto
*
bg
=
new
QGroupBox
(
this
);
auto
*
bg
=
new
QGroupBox
(
this
);
bg
->
setCheckable
(
false
);
bg
->
setCheckable
(
false
);
bg
->
setFlat
(
true
);
bg
->
setFlat
(
true
);
...
@@ -1046,6 +1048,7 @@ void ClipPropertiesController::slotReloadProperties()
...
@@ -1046,6 +1048,7 @@ void ClipPropertiesController::slotReloadProperties()
break
;
break
;
case
ClipType
::
Image
:
case
ClipType
::
Image
:
case
ClipType
::
AV
:
case
ClipType
::
AV
:
case
ClipType
::
Playlist
:
case
ClipType
::
Video
:
{
case
ClipType
::
Video
:
{
QString
proxy
=
m_properties
->
get
(
"kdenlive:proxy"
);
QString
proxy
=
m_properties
->
get
(
"kdenlive:proxy"
);
if
(
proxy
!=
m_originalProperties
.
value
(
QStringLiteral
(
"kdenlive:proxy"
)))
{
if
(
proxy
!=
m_originalProperties
.
value
(
QStringLiteral
(
"kdenlive:proxy"
)))
{
...
...
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