Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Farid Abdelnour
kdenlive
Commits
4903153c
Commit
4903153c
authored
Feb 18, 2012
by
Simon Eugster
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Audio align: Menu entry names changed
parent
3b4e3425
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/customtrackview.cpp
src/customtrackview.cpp
+5
-0
src/mainwindow.cpp
src/mainwindow.cpp
+2
-2
No files found.
src/customtrackview.cpp
View file @
4903153c
...
...
@@ -6014,7 +6014,12 @@ void CustomTrackView::alignAudio()
QList
<
QGraphicsItem
*>
selection
=
scene
()
->
selectedItems
();
foreach
(
QGraphicsItem
*
item
,
selection
)
{
if
(
item
->
type
()
==
AVWIDGET
)
{
ClipItem
*
clip
=
static_cast
<
ClipItem
*>
(
item
);
if
(
clip
==
m_audioAlignmentReference
)
{
continue
;
}
if
(
clip
->
clipType
()
==
AV
||
clip
->
clipType
()
==
AUDIO
)
{
AudioEnvelope
*
envelope
=
new
AudioEnvelope
(
clip
->
getProducer
(
clip
->
track
()),
clip
->
info
().
cropStart
.
frames
(
m_document
->
fps
()),
...
...
src/mainwindow.cpp
View file @
4903153c
...
...
@@ -1516,11 +1516,11 @@ void MainWindow::setupActions()
collection
.
addAction
(
"split_audio"
,
splitAudio
);
connect
(
splitAudio
,
SIGNAL
(
triggered
(
bool
)),
this
,
SLOT
(
slotSplitAudio
()));
KAction
*
setAudioAlignReference
=
new
KAction
(
i18n
(
"Set
r
eference
for audio alignment
"
),
this
);
KAction
*
setAudioAlignReference
=
new
KAction
(
i18n
(
"Set
Audio R
eference"
),
this
);
collection
.
addAction
(
"set_audio_align_ref"
,
setAudioAlignReference
);
connect
(
setAudioAlignReference
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
slotSetAudioAlignReference
()));
KAction
*
alignAudio
=
new
KAction
(
i18n
(
"Align
a
udio to
r
eference"
),
this
);
KAction
*
alignAudio
=
new
KAction
(
i18n
(
"Align
A
udio to
R
eference"
),
this
);
collection
.
addAction
(
"align_audio"
,
alignAudio
);
connect
(
alignAudio
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
slotAlignAudio
()));
...
...
Write
Preview
Markdown
is supported
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