Remove GUI menu items for global automation (#5230)

Co-authored-by: Hyunjin Song <tteu.ingog@gmail.com>
Co-authored-by: Fawn <rubiefawn@gmail.com>
This commit is contained in:
Kevin Zander
2026-03-12 13:03:09 -05:00
committed by GitHub
parent a45a2b86a0
commit 83313e737d
2 changed files with 0 additions and 29 deletions

View File

@@ -97,8 +97,6 @@ public:
public slots:
void execConnectionDialog();
void removeConnection();
void editSongGlobalAutomation();
void removeSongGlobalAutomation();
private slots:
/// Copy the model's value to the clipboard.

View File

@@ -84,18 +84,6 @@ void AutomatableModelView::addDefaultActions( QMenu* menu )
menu->addSeparator();
menu->addAction( embed::getIconPixmap( "automation" ),
AutomatableModel::tr( "Edit song-global automation" ),
amvSlots,
SLOT(editSongGlobalAutomation()));
menu->addAction( QPixmap(),
AutomatableModel::tr( "Remove song-global automation" ),
amvSlots,
SLOT(removeSongGlobalAutomation()));
menu->addSeparator();
if (model->isLinked())
{
menu->addAction(embed::getIconPixmap("edit_unlink"),
@@ -261,21 +249,6 @@ void AutomatableModelViewSlots::removeConnection()
void AutomatableModelViewSlots::editSongGlobalAutomation()
{
getGUI()->automationEditor()->open(
AutomationClip::globalAutomationClip(m_amv->modelUntyped())
);
}
void AutomatableModelViewSlots::removeSongGlobalAutomation()
{
delete AutomationClip::globalAutomationClip( m_amv->modelUntyped() );
}
void AutomatableModelViewSlots::copyToClipboard()
{
// For copyString() and MimeType enum class