2022-09-01 Fred Gleason <fredg@paravelsystems.com>

* Added icons to the CD rippers in rdlibrary(1) to indicate the
	provenance of detected metadata.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-09-01 15:10:59 -04:00
parent 6cc8f2f834
commit 0599b009f2
7 changed files with 158 additions and 21 deletions

View File

@@ -161,7 +161,12 @@ void RDDiscLookup::lookup()
//
// Call the low-level driver to do its lookup.
//
lookupRecord();
if(lookup_has_cd_text&&(sourceName()=="CDDB")) {
RDDiscLookup::lookupRecord(); // Skip CDDB lookup if we have CD-Text
}
else {
lookupRecord();
}
}
@@ -251,6 +256,12 @@ void RDDiscLookup::resizeEvent(QResizeEvent *e)
}
void RDDiscLookup::closeEvent(QCloseEvent *e)
{
cancelData();
}
RDDiscRecord *RDDiscLookup::discRecord() const
{
return lookup_record;

View File

@@ -71,6 +71,7 @@ class RDDiscLookup : public RDDialog
virtual void lookupRecord();
void processLookup(RDDiscLookup::Result result,const QString &err_msg);
void resizeEvent(QResizeEvent *e);
void closeEvent(QCloseEvent *e);
RDDiscRecord *discRecord() const;
void profile(const QString &msg);
QComboBox *titlesBox();