Commit graph

9 commits

Author SHA1 Message Date
Andrey M. Tokarev
c92659ed82 Check fraction overflow only in Debug mode 2014-04-02 11:42:09 +04:00
Andrey M. Tokarev
83b3af473a Reduce fraction only if numerator or denominator > some limit 2014-04-02 11:42:08 +04:00
Joachim Schmitz
3adc1ea6ed fix #14764
convert qDebug();abort() to qFatal() and if(cond) abort() to
Q_ASSERT(!cond), esp. for the benefit of Windows, where it is impossible
to set a breakpoint on the abort()
Also modernizing mscoreMessageHandler() and making it more informative
by adding file, line and function to the output.
2014-03-04 13:06:23 +01:00
Andrey M. Tokarev
e3e47ffc28 Small refactoring for shorter code 2013-12-01 00:56:08 +04:00
Andrey M. Tokarev
2a5e270050 Fix #23481: crash due to int overflow on import of a big MIDI file 2013-12-01 00:56:08 +04:00
Andrey M. Tokarev
bbb885f2eb ReducedFraction class with int overflow detection (MIDI import) 2013-12-01 00:56:08 +04:00
Andrey M. Tokarev
d4b49785f8 Import lyrics from MIDI track 2013-09-07 23:05:26 +04:00
Andrey M. Tokarev
341cbeb7a9 Explicit ReducedFraction constructor 2013-08-24 02:12:49 +04:00
Andrey M. Tokarev
ebb4c6518a Fix int overflow (new class ReducedFraction) 2013-08-24 02:12:48 +04:00