From de42315f33821bc5c44f2ce831f45ff88f609221 Mon Sep 17 00:00:00 2001 From: Roman Savochenko Date: Sun, 19 Nov 2023 12:07:18 +0200 Subject: Noatun: Crashing at empty items in the playlist Signed-off-by: Roman Savochenko (cherry picked from commit cf9759fa992775e54adc65e127ead1989821cd54) --- noatun/library/downloader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'noatun/library/downloader.cpp') diff --git a/noatun/library/downloader.cpp b/noatun/library/downloader.cpp index 21fb7926..b8081626 100644 --- a/noatun/library/downloader.cpp +++ b/noatun/library/downloader.cpp @@ -86,6 +86,7 @@ void Downloader::start() for (TQPtrListIterator i(*mUnstartedQueue); i.current(); ++i) { + if((*i)->file.path().isEmpty()) continue; (*i)->notifier->mLocalFilename = (*i)->local; mQueue.append(*i); emit enqueued((*i)->notifier, (*i)->file); -- cgit v1.2.3