made song-length being cached and only updated upon changed length or position of TCOs

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@880 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel committed 2008-04-03 22:50:40 +00:00
1 parent 3d46ea2c97
commit 2418ea32ee
5 files changed
+35 -11

No files matched your search

+1 -1
View File
@@ -378,7 +378,7 @@ songEditor::~songEditor()
void songEditor::paintEvent( QPaintEvent * _pe )
{
m_leftRightScroll->setMaximum( m_s->lengthInTacts() );
m_leftRightScroll->setMaximum( m_s->length() );
trackContainerView::paintEvent( _pe );
}