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