Further clean up of the last commit
This commit is contained in:
parent
5b2938003b
commit
5d2fbfb041
@ -66,8 +66,6 @@ SongInfoBase::SongInfoBase(QWidget* parent)
|
||||
SLOT(ResultReady(int,SongInfoFetcher::Result)));
|
||||
connect(fetcher_, SIGNAL(InfoResultReady(int,CollapsibleInfoPane::Data)),
|
||||
SLOT(InfoResultReady(int,CollapsibleInfoPane::Data)));
|
||||
connect(fetcher_, SIGNAL(ImageResultReady(int,QUrl)),
|
||||
SLOT(ImageResultReady(int,QUrl)));
|
||||
}
|
||||
|
||||
void SongInfoBase::Clear() {
|
||||
|
@ -62,10 +62,6 @@ void SongInfoFetcher::ImageReady(int id, const QUrl& url) {
|
||||
if (!results_.contains(id))
|
||||
return;
|
||||
results_[id].images_ << url;
|
||||
|
||||
if (!waiting_for_.contains(id))
|
||||
return;
|
||||
emit ImageResultReady (id, url);
|
||||
}
|
||||
|
||||
void SongInfoFetcher::InfoReady(int id, const CollapsibleInfoPane::Data& data) {
|
||||
|
@ -50,7 +50,6 @@ public:
|
||||
QList<SongInfoProvider*> providers() const { return providers_; }
|
||||
|
||||
signals:
|
||||
void ImageResultReady(int id, const QUrl& url);
|
||||
void InfoResultReady (int id, const CollapsibleInfoPane::Data& data);
|
||||
void ResultReady(int id, const SongInfoFetcher::Result& result);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user