Yeah, I don't think I can some up with a solution in a short period of time for all this. This is a very advanced mix of inheritance, static data and #defines that will take a while to get my head around completely.

  I'll keep at it, but don't expect a solution anytime soon.

Ted.

On 5/10/20 1:21 PM, Ted Felix wrote:
  I see.  tr() was being called at static construction time.  That won't work.  Your solution looks good.  I'll have a look at the rest and see if I can push a fix shortly.

Ted.

On 5/10/20 10:51 AM, Philip Leishman wrote:
QString
LinearParameterPattern::getText(QString propertyName) const
{
     QString text;
     if (m_isDiminuendo) {
         text = QObject::tr("Diminuendo - set %1 falling from max to min");
     } else {
         text = QObject::tr("Crescendo - set %1 rising from min to max");
     }
     return text.arg(propertyName);
}


_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel


_______________________________________________
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