1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
Description: remove a few debug statements run for us
and do something with someā¦
Author: mirabilos <tg@debian.org>
Forwarded: no, depends on debian/patches/experiments/our-message-handler.diff
--- a/libmscore/rendermidi.cpp
+++ b/libmscore/rendermidi.cpp
@@ -2543,7 +2543,7 @@ void MidiRenderer::renderChunk(const Chu
// since sometimes the synth state is not init
method = 1;
cc = 2;
- qWarning("Had to fall back to defaults to render measure");
+ qDebug("Had to fall back to defaults to render measure");
}
}
--- a/libmscore/repeatlist.cpp
+++ b/libmscore/repeatlist.cpp
@@ -393,7 +393,7 @@ void RepeatList::unwind()
sectionStartMeasureBase = 0; // reset to NULL to indicate that don't know starting Measure of next section after starting new section
sectionEndMeasureBase = 0;
}
- else {
+ else if (sectionStartMeasureBase || sectionEndMeasureBase) {
qDebug( "Will not unroll a section that doesn't start or end with an actual measure. sectionStartMeasureBase = %p, sectionEndMeasureBase = %p",
sectionStartMeasureBase, sectionEndMeasureBase);
}
--- a/libmscore/xmlreader.cpp
+++ b/libmscore/xmlreader.cpp
@@ -210,6 +210,8 @@ void XmlReader::unknown()
{
if (QXmlStreamReader::error())
qDebug("%s ", qPrintable(errorString()));
+ else
+ qDebug("unknown tag ");
if (!docName.isEmpty())
qDebug("tag in <%s> line %lld col %lld: %s",
qPrintable(docName), lineNumber(), columnNumber(), name().toUtf8().data());
@@ -506,7 +508,6 @@ int XmlReader::spannerId(const Spanner*
Tid XmlReader::addUserTextStyle(const QString& name)
{
- qDebug("%s", qPrintable(name));
Tid id = Tid::TEXT_STYLES;
if (userTextStyles.size() == 0)
id = Tid::USER1;
|