OK, I've finally got my head around this. It's far simpler than I thought. This is indeed the right approach. I will make these changes and push in a day or so.

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

Reply via email to