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>
(cherry picked from commit 9b23841246)
r14.0.x
Mashiro 5 years ago committed by Michele Calgaro
parent 23d6d04803
commit 48a4f956ad
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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