apparently this will only work if the switch/case statement in 
void Xml::tag(P_ID id, QVariant data, QVariant defaultData)
is extended to include P_ID::PLAY_ARTICULATION

Otherwise the Q_ASSERT(false) line is reached.

But yes this does seem like a more centralized place.


> On 24 Apr 2015, at 12:25, lasconic [via MuseScore Developer] 
> <ml-node+s685061n7579201...@n2.nabble.com> wrote:
> 
> If playArticulation is a property in the articulation class. Just use   
> writeProperty(xml, P_ID::PLAY_ARTICULATION); the class will figure out the 
> value and the default value by itself. (Since you should have coded it in 
> propertyDefault and getProperty)
> 
> lasconic
> 
> 2015-04-24 10:29 GMT+02:00 Jim Newton <[hidden email] 
> <x-msg://8/user/SendEmail.jtp?type=node&node=7579201&i=0>>:
> So Jojo suggested that I cast the bool to int in the call to xml.tag().
> I'll try it and see what happens.
> 
> 
> 
> --
> View this message in context: 
> http://dev-list.musescore.org/need-help-cannot-reproduce-compilation-error-tp7579197p7579198.html
>  
> <http://dev-list.musescore.org/need-help-cannot-reproduce-compilation-error-tp7579197p7579198.html>
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y 
> <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y>
> _______________________________________________
> Mscore-developer mailing list
> [hidden email] <x-msg://8/user/SendEmail.jtp?type=node&node=7579201&i=1>
> https://lists.sourceforge.net/lists/listinfo/mscore-developer 
> <https://lists.sourceforge.net/lists/listinfo/mscore-developer>
> 
> 
> ------------------------------------------------------------------------------
>  
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications 
> Performance metrics, stats and reports that give you Actionable Insights 
> Deep dive visibility with transaction tracing using APM Insight. 
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y 
> <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y>
> _______________________________________________ 
> Mscore-developer mailing list 
> [hidden email] <x-msg://8/user/SendEmail.jtp?type=node&node=7579201&i=2> 
> https://lists.sourceforge.net/lists/listinfo/mscore-developer 
> <https://lists.sourceforge.net/lists/listinfo/mscore-developer>
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://dev-list.musescore.org/need-help-cannot-reproduce-compilation-error-tp7579197p7579201.html
>  
> <http://dev-list.musescore.org/need-help-cannot-reproduce-compilation-error-tp7579197p7579201.html>
> To unsubscribe from need help cannot reproduce compilation error, click here 
> <http://dev-list.musescore.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7579197&code=amlta2EuaXNzeUBnbWFpbC5jb218NzU3OTE5N3wxMTEzNjI0NTI5>.
> NAML 
> <http://dev-list.musescore.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://dev-list.musescore.org/need-help-cannot-reproduce-compilation-error-tp7579197p7579204.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to