summaryrefslogtreecommitdiffstats
path: root/libk3b
diff options
context:
space:
mode:
authorMashiro <m.t.0x73@gmail.com>2020-03-09 15:34:57 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-03-10 11:11:20 +0900
commit48a4f956ad7ae11770bafc1b03aaa3fffc5f04ad (patch)
treee28d31af35de96bf7f4482be6ab09ed317860068 /libk3b
parent23d6d04803704b1ae3b6bdd29aa49e5fb2301f2f (diff)
downloadk3b-48a4f956ad7ae11770bafc1b03aaa3fffc5f04ad.tar.gz
k3b-48a4f956ad7ae11770bafc1b03aaa3fffc5f04ad.zip
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 9b2384124659597c7385ec500f4da0bdcd2d3ef7)
Diffstat (limited to 'libk3b')
-rw-r--r--libk3b/plugin/k3baudioencoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libk3b/plugin/k3baudioencoder.cpp b/libk3b/plugin/k3baudioencoder.cpp
index 76240e4..f996d6e 100644
--- a/libk3b/plugin/k3baudioencoder.cpp
+++ b/libk3b/plugin/k3baudioencoder.cpp
@@ -91,7 +91,7 @@ const TQString& K3bAudioEncoder::filename() const
if( d->outputFile )
return d->outputFilename;
else
- return TQString();
+ return TQString::null;
}