SampleTrack: Uncomment disabled recording-related code.
This commit is contained in:
@@ -355,9 +355,9 @@ void SampleTCOView::contextMenuEvent( QContextMenuEvent * _cme )
|
||||
"Ctrl"),
|
||||
#endif
|
||||
m_tco, SLOT( toggleMute() ) );
|
||||
/*contextMenu.addAction( embed::getIconPixmap( "record" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "record" ),
|
||||
tr( "Set/clear record" ),
|
||||
m_tco, SLOT( toggleRecord() ) );*/
|
||||
m_tco, SLOT( toggleRecord() ) );
|
||||
constructContextMenu( &contextMenu );
|
||||
|
||||
contextMenu.exec( QCursor::pos() );
|
||||
@@ -545,7 +545,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() ) );
|
||||
|
||||
@@ -556,7 +556,7 @@ void SampleTCOView::paintEvent( QPaintEvent * pe )
|
||||
|
||||
p.setBrush( QBrush( textColor() ) );
|
||||
p.drawEllipse( 4, 5, 4, 4 );
|
||||
}*/
|
||||
}
|
||||
|
||||
p.end();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user