SampleTrack: Uncomment disabled recording-related code.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user