From fa988211a8a79bceff7bd3e23ba13dbe01fbd2b8 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Wed, 27 Apr 2016 20:00:13 -0400 Subject: [PATCH] 2016-04-27 Fred Gleason * Fixed a bug in 'lib/rdcut.cpp' that caused the cut 'Description' field to be applied as a cut Title. --- ChangeLog | 3 +++ lib/rdcut.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f66ff301..ad59d7f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15104,3 +15104,6 @@ 2016-04-27 Fred Gleason * Added a 'bitRate' field in the return for the AudioInfo web method. * Added an rdexport(1) utility in 'utils/rdexport/'. +2016-04-27 Fred Gleason + * Fixed a bug in 'lib/rdcut.cpp' that caused the cut 'Description' + field to be applied as a cut Title. diff --git a/lib/rdcut.cpp b/lib/rdcut.cpp index 4d8d9c70..242974c5 100644 --- a/lib/rdcut.cpp +++ b/lib/rdcut.cpp @@ -922,7 +922,7 @@ void RDCut::getMetadata(RDWaveData *data) const (const char *)cut_name); q=new RDSqlQuery(sql); if(q->first()) { - data->setTitle(q->value(0).toString()); + data->setDescription(q->value(0).toString()); data->setOutCue(q->value(1).toString()); data->setIsrc(q->value(2).toString()); data->setIsci(q->value(3).toString());