diff --git a/src/rss.cpp b/src/rss.cpp index 7c2413b31..2610aa270 100644 --- a/src/rss.cpp +++ b/src/rss.cpp @@ -364,9 +364,11 @@ void RssManager::saveStreamList(){ const QList &streams = getAllFeeds(); foreach(const RssStream *stream, streams) { const QString &stream_path = stream->getPath().join("\\"); - qDebug("Saving stream path: %s", qPrintable(stream_path)); - streamsUrl << stream_path; - aliases << stream->getName(); + if(!stream_path.isNull()) { + qDebug("Saving stream path: %s", qPrintable(stream_path)); + streamsUrl << stream_path; + aliases << stream->getName(); + } } QSettings settings("qBittorrent", "qBittorrent"); settings.beginGroup("Rss");