On Sat, 17 Apr 2021, at 16:48, David Faure wrote:
> I'm pretty sure that the limitation was that qDebug() is fully on or off.

I just did a bit of archaeology. The answer doesn't seem to be all that 
interesting, sadly!

Before CVS revision 2861 (2002-08-10) we were using the KDE debug stream with a 
single "debug area" everywhere, and we had no macro to abbreviate the kdDebug() 
bit in the source code, so it appeared like this everywhere:

  kdDebug(KDEBUG_AREA) << "message"

At rev 2861 we acquired two new debug area values, KDEBUG_AREA_NOTATION and 
KDEBUG_AREA_MATRIX, and rev 2862 the following day introduced the RG_DEBUG, 
NOTATION_DEBUG and MATRIX_DEBUG shorthands:

  NOTATION_DEBUG << "message"

At that point any debug output outside of the gui/ file hierarchy was still 
using cout/cerr. That changed in rev 2969 (2002-08-26) when we got sequencer 
and sequence manager debug areas as well.

So it looks as if the RG_DEBUG type macros were introduced purely to avoid 
typing kdDebug(..) everywhere, since we already had the separate debug areas 
defined before those macros were added.


Chris


_______________________________________________
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