Fix async song load

Fixes #739
This commit is contained in:
Jonas Kvinge
2021-07-28 22:25:33 +02:00
parent 62a5031ccf
commit 553e8baa8b
4 changed files with 4 additions and 2 deletions

View File

@@ -367,6 +367,7 @@ bool Song::save_embedded_cover_supported(const FileType filetype) {
const QUrl &Song::stream_url() const { return d->stream_url_; }
const QUrl &Song::effective_stream_url() const { return !d->stream_url_.isEmpty() && d->stream_url_.isValid() ? d->stream_url_ : d->url_; }
const QImage &Song::image() const { return d->image_; }
bool Song::init_from_file() const { return d->init_from_file_; }
const QString &Song::cue_path() const { return d->cue_path_; }
bool Song::has_cue() const { return !d->cue_path_.isEmpty(); }