Commit 4903153c authored by Simon Eugster's avatar Simon Eugster

Audio align: Menu entry names changed

parent 3b4e3425
......@@ -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) {
if (clip->clipType() == AV || clip->clipType() == AUDIO) {
AudioEnvelope *envelope = new AudioEnvelope(clip->getProducer(clip->track()),
......@@ -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 reference for audio alignment"), this);
KAction* setAudioAlignReference = new KAction(i18n("Set Audio Reference"), this);
collection.addAction("set_audio_align_ref", setAudioAlignReference);
connect(setAudioAlignReference, SIGNAL(triggered()), this, SLOT(slotSetAudioAlignReference()));
KAction* alignAudio = new KAction(i18n("Align audio to reference"), this);
KAction* alignAudio = new KAction(i18n("Align Audio to Reference"), this);
collection.addAction("align_audio", alignAudio);
connect(alignAudio, SIGNAL(triggered()), this, SLOT(slotAlignAudio()));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment