Comment 54 for bug 1713485

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

Hi,

> What log?

I can only guess where qDebug() messages show up.
The web talks of "application output". An example on
  http://www.qtcentre.org/threads/19534-redirect-qDebug%28%29-to-file
indicates that it is normal "standard output"i, i.e. the start terminal.

So try in a shell terminal window

  k3b | tee -i /tmp/k3b_log_file

and after the run look into file /tmp/k3b_log_file .

> Are the changes correct?

They are half of what we need: The "found" part.
You also need to print the "wanted" info. (Something between them does
not match. I just have no idea yet what it could be. Need to see.)

So add also

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

directly before or after the printing of "found".

Have a nice day :)

Thomas