> On 07/20/2013 01:04 PM, Tom Breton (Tehom) wrote:
>> I check it with an assert,
>
>    ISTM that rosegarden avoids assertions as much as possible, and
> instead avoids situations that might cause them.

It's a case that (now) shouldn't be logically possible.  IMHO it's better
for a failure of this logic to be an immediately obvious failure, but I
will of course conform to team standards.

>    If you must assert, I think it would be best to use Q_ASSERT_X()
> which provides additional information to help with tracking down the
> cause of an assertion.

I did not know that QT had that.  Thank you.

        Tom Breton (Tehom)



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to