|
|
@ -363,12 +363,13 @@ void RssManager::saveStreamList(){ |
|
|
|
QStringList aliases; |
|
|
|
QStringList aliases; |
|
|
|
const QList<RssStream*> &streams = getAllFeeds(); |
|
|
|
const QList<RssStream*> &streams = getAllFeeds(); |
|
|
|
foreach(const RssStream *stream, streams) { |
|
|
|
foreach(const RssStream *stream, streams) { |
|
|
|
const QString &stream_path = stream->getPath().join("\\"); |
|
|
|
QString stream_path = stream->getPath().join("\\"); |
|
|
|
if(!stream_path.isNull()) { |
|
|
|
if(stream_path.isNull()) { |
|
|
|
qDebug("Saving stream path: %s", qPrintable(stream_path)); |
|
|
|
stream_path = ""; |
|
|
|
streamsUrl << stream_path; |
|
|
|
|
|
|
|
aliases << stream->getName(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
qDebug("Saving stream path: %s", qPrintable(stream_path)); |
|
|
|
|
|
|
|
streamsUrl << stream_path; |
|
|
|
|
|
|
|
aliases << stream->getName(); |
|
|
|
} |
|
|
|
} |
|
|
|
QSettings settings("qBittorrent", "qBittorrent"); |
|
|
|
QSettings settings("qBittorrent", "qBittorrent"); |
|
|
|
settings.beginGroup("Rss"); |
|
|
|
settings.beginGroup("Rss"); |
|
|
|