2019-08-31 Fred Gleason <fredg@paravelsystems.com>

* Updated ripper profiling code in rdlibrary(1) to be UTF-8 clean.
This commit is contained in:
Fred Gleason 2019-08-31 15:41:13 -04:00
parent d5bccc7004
commit 5e21be39ea
4 changed files with 8 additions and 6 deletions

View File

@ -19051,3 +19051,5 @@
2019-08-29 Patrick Linstruth <patrick@deltecent.com>
* Modified rdlibrary(1) Rip Disk dialog to use Artist and Album
text fields when modifying cart labels.
2019-08-31 Fred Gleason <fredg@paravelsystems.com>
* Updated ripper profiling code in rdlibrary(1) to be UTF-8 clean.

View File

@ -2,7 +2,7 @@
//
// A Qt class for accessing the FreeDB CD Database.
//
// (C) Copyright 2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2003-2019 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Library General Public License
@ -458,6 +458,6 @@ void RDCddbLookup::Profile(const QString &msg)
if(lookup_profile_msgs!=NULL) {
printf("%s | RDCddbLookup::%s\n",
(const char *)QTime::currentTime().toString("hh:mm:ss.zzz"),
(const char *)msg);
(const char *)msg.toUtf8());
}
}

View File

@ -2,7 +2,7 @@
//
// Abstract a Linux CDROM Device.
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Library General Public License
@ -550,7 +550,7 @@ void RDCdPlayer::Profile(const QString &msg)
if(cdrom_profile_msgs!=NULL) {
fprintf(cdrom_profile_msgs,"%s | RDCdPlayer::%s\n",
(const char *)QTime::currentTime().toString("hh:mm:ss.zzz"),
(const char *)msg);
(const char *)msg.toUtf8());
}
}

View File

@ -2,7 +2,7 @@
//
// Rip an audio from from CD
//
// (C) Copyright 2010,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2010-2019 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -198,6 +198,6 @@ void RDCdRipper::Profile(const QString &msg)
if(conv_profile_msgs!=NULL) {
fprintf(conv_profile_msgs,"%s | RDCdPlayer::%s\n",
(const char *)QTime::currentTime().toString("hh:mm:ss.zzz"),
(const char *)msg);
(const char *)msg.toUtf8());
}
}