Commit 21f55eee authored by Ludovic Fauvet's avatar Ludovic Fauvet

GraphicsTrack: cosmetics

parent 41b09019
......@@ -63,7 +63,7 @@ GraphicsTrack::setTrackEnabled( bool enabled )
}
bool
GraphicsTrack::trackEnabled()
GraphicsTrack::isEnabled()
{
return m_enabled;
}
......
......@@ -42,7 +42,7 @@ public:
void setHeight( int height );
int height();
void setTrackEnabled( bool enabled );
bool trackEnabled();
bool isEnabled();
quint32 trackNumber();
MainWorkflow::TrackType mediaType();
virtual int type() const { return Type; }
......
......@@ -29,7 +29,7 @@ TrackControls::TrackControls( GraphicsTrack* track, QWidget *parent ) :
QWidget( parent ), m_ui( new Ui::TrackControls ), m_track( track )
{
m_ui->setupUi( this );
setTrackDisabled( !m_track->trackEnabled() );
setTrackDisabled( !m_track->isEnabled() );
connect( m_ui->disableButton, SIGNAL( clicked(bool) ),
this, SLOT( setTrackDisabled(bool) ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment