summaryrefslogtreecommitdiffstats
path: root/kioslave/audiocd/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/audiocd/plugins')
-rw-r--r--kioslave/audiocd/plugins/flac/encoderflac.cpp2
-rw-r--r--kioslave/audiocd/plugins/vorbis/encodervorbis.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kioslave/audiocd/plugins/flac/encoderflac.cpp b/kioslave/audiocd/plugins/flac/encoderflac.cpp
index dfb4f7ba..c208e659 100644
--- a/kioslave/audiocd/plugins/flac/encoderflac.cpp
+++ b/kioslave/audiocd/plugins/flac/encoderflac.cpp
@@ -199,7 +199,7 @@ void EncoderFLAC::fillSongInfo( KCDDB::CDInfo info, int track, const TQString &c
if (!comments[i].second.toString().isEmpty()) {
field = comments[i].first+"="+comments[i].second.toString();
cfield = field.utf8();
- entry.entry = (FLAC__byte*)qstrdup(cfield);
+ entry.entry = (FLAC__byte*)tqstrdup(cfield);
entry.length = cfield.length();
// Insert in vorbiscomment and assign ownership of pointers to FLAC
FLAC__metadata_object_vorbiscomment_insert_comment(d->metadata[0], num_comments, entry, false);
diff --git a/kioslave/audiocd/plugins/vorbis/encodervorbis.cpp b/kioslave/audiocd/plugins/vorbis/encodervorbis.cpp
index 2caab8e5..5c88f844 100644
--- a/kioslave/audiocd/plugins/vorbis/encodervorbis.cpp
+++ b/kioslave/audiocd/plugins/vorbis/encodervorbis.cpp
@@ -321,8 +321,8 @@ void EncoderVorbis::fillSongInfo( KCDDB::CDInfo info, int track, const TQString
// if the value is not empty
if(!(*it).second.toString().isEmpty()) {
- char *key = qstrdup((*it).first);
- char *value = qstrdup((*it).second.toString().utf8().data());
+ char *key = tqstrdup((*it).first);
+ char *value = tqstrdup((*it).second.toString().utf8().data());
vorbis_comment_add_tag(&d->vc, key, value);