> > 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 .
Ok!
> > 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".
In reply to Thomas Schmitt from comment #52)
[...]
> > What log? www.qtcentre. org/threads/ 19534-redirect- qDebug% 28%29-to- file
>
> I can only guess where qDebug() messages show up.
> The web talks of "application output". An example on
> http://
> 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 .
Ok!
> > Are the changes correct? iaSize. lba();
>
> 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->wantedMinMed
>
> directly before or after the printing of "found".
ok!
------- ------- -----This right?- ------- ------- ------- ------- ----- diskInfo( ).mediaType( ) diskInfo( ).diskState( ) actuallyRemaini ngSize( ).lba() ;
#ifdef K3B_DEBUG
qDebug() << "Bug 381074: found: "
<< __PRETTY_FUNCTION__ << medium.
<< medium.
<< medium.
qDebug() << "Bug 381074: wanted: " iaSize. lba(); ------- ------- ------- ------- ------- ------- ------- ------- --
<< __PRETTY_FUNCTION__ << d->wantedMediaType
<< d->wantedMediaState << d->wantedMinMed
#endif
-------
Regards,
--
Cristian