Comment 50 for bug 1713485

Revision history for this message
In , Thomas Schmitt (scdbackup) wrote :

Hi,

if you feel adventurous enough: I propose something like

    qDebug() << "Bug 381074: wanted: "
             << __PRETTY_FUNCTION__ << d->wantedMediaType
             << d->wantedMediaState << d->wantedMinMediaSize.lba();

    qDebug() << "Bug 381074: found: "
             << __PRETTY_FUNCTION__ << medium.diskInfo().mediaType()
             << medium.diskInfo().diskState()
             << medium.actuallyRemainingSize().lba();

I now understand that __PRETTY_FUNCTION__ is supposed to print the name
of the function the qDebug() statement is in.
So the message text is not as hard to find, as i first thought.
The function name should be "slotMediumChanged()".

Have a nice day :)

Thomas