- connect(removeAction, SIGNAL(triggered()), this, SLOT(slotDeleteTrack()));*/
+ connect(removeAction, SIGNAL(triggered()), this, SLOT(slotDeleteTrack()));
+
+ QAction *changeAction = new QAction(i18n("Change Track Type"), this);
+ m_contextMenu->addAction(changeAction);
+ connect(changeAction, SIGNAL(triggered()), this, SLOT(slotChangeTrack()));
+}
+
+HeaderTrack::~HeaderTrack() {
+ if (m_contextMenu) delete m_contextMenu;