Fix #25165 - crash when changing rest measure duration to or from irregular time.

When the actual duration of a measure is changed and either the starting or ending duration cannot be represented with a simple value (for instance 5/4) and the measure contains a single whole measure rest, a division by 0 results. See http://musescore.org/en/node/25165 for examples, discussion and analysis.

Fixed.

If the new measure value is different from the current time sig, rest(s) to represent the actual measure values are used instead of whole measure rests.
Tick where to place the newly added rests was wrong.
This fixes Gentoo bug #507712 (https://bugs.gentoo.org/507712)

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
fix #25411
fix #25412
change a printf to a qDebug

and removing an unneeded \n
correcting typo
Merge pull request #861 from Jojo-Schmitz/qDebug

change a printf to a qDebug
fix #25481
import ontime and offtime offset from 1.3 scores
fix staccato, tenuto positioning for SMuFL
fix #24505: text in inspector
partial fix for tests
fix #21489: allow change of text style to chord symbols
fix #24951: grace notes after enabled
fix position of stacatto, tenuto and sforzato in Emmentaler
fix tick2measureMM()
fix #25253
enable style tag optimization
Merge pull request #849 from MarcSabatella/24505-text-inspector

fix #24505: text in inspector