Fix condition for skipping lyrics download from Tekstowo if already done
This commit is contained in:
parent
07406a1185
commit
2d5f586c88
|
@ -32,7 +32,7 @@ TekstowoResultsModel::TekstowoResultsModel(SongDescription &&initialSongDescript
|
|||
|
||||
bool TekstowoResultsModel::fetchLyrics(const QModelIndex &index)
|
||||
{
|
||||
if ((index.parent().isValid() || !index.isValid() || index.row() >= m_results.size()) || m_results[index.row()].lyrics.isEmpty()) {
|
||||
if ((index.parent().isValid() || !index.isValid() || index.row() >= m_results.size()) || !m_results[index.row()].lyrics.isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
const auto url = webUrl(index);
|
||||
|
|
Loading…
Reference in New Issue