SampleTrack: Uncomment disabled recording-related code.

This commit is contained in:
Shmuel H
2017-11-06 11:50:39 +02:00
committed by Shmuel Hazan
parent 3d7ef9fa4f
commit 79b7092514
2 changed files with 7 additions and 7 deletions

View File

@@ -68,9 +68,9 @@ void SampleTCOView::constructContextMenu(QMenu* cm)
cm->addSeparator();
/*contextMenu.addAction( embed::getIconPixmap( "record" ),
tr( "Set/clear record" ),
m_tco, SLOT( toggleRecord() ) );*/
cm->addAction(embed::getIconPixmap( "record" ),
tr("Set/clear record"),
m_tco, SLOT(toggleRecord()));
cm->addAction(
embed::getIconPixmap("flip_x"),
@@ -291,7 +291,7 @@ void SampleTCOView::paintEvent( QPaintEvent * pe )
}
// recording sample tracks is not possible at the moment
/* if( m_tco->isRecord() )
if(m_tco->isRecord())
{
p.setFont( pointSize<7>( p.font() ) );
@@ -302,7 +302,7 @@ void SampleTCOView::paintEvent( QPaintEvent * pe )
p.setBrush( QBrush( textColor() ) );
p.drawEllipse( 4, 5, 4, 4 );
}*/
}
p.end();

View File

@@ -1,4 +1,4 @@
/*
/*
* SampleTrack.cpp - implementation of class SampleTrack, a track which
* provides arrangement of samples
*
@@ -22,7 +22,7 @@
* Boston, MA 02110-1301 USA.
*
*/
#include "SampleTrack.h"
#include <QDomElement>