Hi,

I just git pulled the most recent code to my Mac and compiled the app. The
result: MuseScore crashes on startup. After poking around the code, I found
the culprit: the styleTypes-array initialisation in style.cpp

style.cpp:50
static const StyleType styleTypes[] {
      { StyleIdx::staffUpperBorder,        "staffUpperBorder",       
Spatium(7.0)  },
      ...

The precomputeValues-function loops through the styleTypes-array, and while
debugging, I noticed that only _idx-property is set. StyleType's _name is
null, and it seems that the _defaultValue QVariant is empty as well.





--
View this message in context: 
http://dev-list.musescore.org/Heads-up-an-array-of-structs-initialisation-in-style-cpp-tp7580121.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to