Fix CDTEXT processing

K3bDevice::CdText::textForPackType returns link to a destructed object
Additionally, same issue was fixed for AudioEncoder module

Signed-off-by: Mashiro <m.t.0x73@gmail.com>
pull/6/head
Mashiro 5 years ago
parent b557321865
commit 9b23841246

@ -91,7 +91,7 @@ const TQString& K3bAudioEncoder::filename() const
if( d->outputFile )
return d->outputFilename;
else
return TQString();
return TQString::null;
}

@ -524,7 +524,7 @@ const TQString& K3bDevice::CdText::textForPackType( int packType, unsigned int t
if( track == 0 )
return discId();
else
return TQString();
return TQString::null;
// case 0x87:
// if( track == 0 )

Loading…
Cancel
Save