AutomationEditor: removed useless assertion

As suggested by wongcc966422 and others, the assertion at this place
is superfluous and just causes unneccessary crashes.

Closes #540.
This commit is contained in:
Tobias Doerffel
2014-04-25 23:41:51 +02:00
parent cf35a58629
commit 2505c770bb

View File

@@ -1597,8 +1597,6 @@ void AutomationEditor::paintEvent( QPaintEvent * _pe )
++it;
}
Q_ASSERT( it == time_map.end()-1 );
for( int i = it.key(), x = xCoordOfTick( i ); x <= width();
i++, x = xCoordOfTick( i ) )
{