summaryrefslogtreecommitdiffstats
path: root/noatun/modules/splitplaylist/view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/splitplaylist/view.cpp')
-rw-r--r--noatun/modules/splitplaylist/view.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noatun/modules/splitplaylist/view.cpp b/noatun/modules/splitplaylist/view.cpp
index bfdd0112..b7481125 100644
--- a/noatun/modules/splitplaylist/view.cpp
+++ b/noatun/modules/splitplaylist/view.cpp
@@ -797,6 +797,9 @@ void View::init()
list->openGlobal(internalURL);
}
+ for(PlaylistItem item = SPL->getFirst(); item; item = SPL->getAfter(item))
+ if(item.url().path().isEmpty()) item.remove();
+
TDEConfig &config = *TDEGlobal::config();
config.setGroup("splitplaylist");