From 040e94cab79e15f1e987746a02a59c0a4bde5d79 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 7 Mar 2010 21:03:51 +0000 Subject: [PATCH] Added another check --- src/rss.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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");