Update TimeLineWidget 60 times per second (#4703)
In addition to #4570.
This commit is contained in:
committed by
Hyunjin Song
parent
86f9a75d98
commit
a8828d332c
@@ -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() ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user