Track: do not load height information if greater than default height

This is a workaround for issue #3585927. Once we found the source of
this issue, we can revert this commit.
This commit is contained in:
Tobias Doerffel
2012-11-11 22:17:11 +01:00
parent c9d5c1dd06
commit d3d6d65836

View File

@@ -1770,7 +1770,8 @@ void track::loadSettings( const QDomElement & _this )
node = node.nextSibling();
}
if( _this.attribute( "height" ).toInt() >= MINIMAL_TRACK_HEIGHT )
if( _this.attribute( "height" ).toInt() >= MINIMAL_TRACK_HEIGHT &&
_this.attribute( "height" ).toInt() <= DEFAULT_TRACK_HEIGHT ) // workaround for #3585927, tobydox/2012-11-11
{
m_height = _this.attribute( "height" ).toInt();
}