Skip to content

Commit

Permalink
Update TimeLineWidget 60 times per second (LMMS#4703)
Browse files Browse the repository at this point in the history
In addition to LMMS#4570.
  • Loading branch information
karmux authored and PhysSong committed Nov 9, 2018
1 parent 967f131 commit 97e5b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/TimeLineWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ TimeLineWidget::TimeLineWidget( const int xoff, const int yoff, const float ppt,
QTimer * updateTimer = new QTimer( this );
connect( updateTimer, SIGNAL( timeout() ),
this, SLOT( updatePosition() ) );
updateTimer->start( 50 );
updateTimer->start( 1000 / 60 ); // 60 fps
connect( Engine::getSong(), SIGNAL( timeSignatureChanged( int,int ) ),
this, SLOT( update() ) );
}
Expand Down

0 comments on commit 97e5b2a

Please sign in to comment.