Thanks for the post. LayoutEngine is probably the only messy
non-document class in the project - it takes care of layouting the notes
and staffs on the sheet and it was meant to be rewritten, but we didn't
get there yet. I'll take a look at it in the upcoming evenings ;)
PS: I'm forwarding your message to canorus-devel mailing list.
Dne 10. 01. 2013 00:05, piše Jürgen Peter Messerer:
> Hi Matevz,
> lately I found discovered the canorus project and I have to say it
> looks promising.
> But then I run some simple test e.g import a midi file.
> It crashed. I have attached you the midi file.
> 1.) start canorus from console.
> 2.) Choose File->Import->midi-file
> 3.) Crash around 70%
> I opened the project with qt-creator I checked for the bug.
> The bug is located in trunk/src/layout/layoutengine.cpp at line 990
> You are trying to delete a pointer which points to 0.
> I have tried to understand your code but this class is not very well
> documented and designed.
> I hope you can rewrite it in the near future.
> Best regards