mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Added another check
This commit is contained in:
parent
93563365ac
commit
040e94cab7
@ -364,9 +364,11 @@ void RssManager::saveStreamList(){
|
|||||||
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("\\");
|
const QString &stream_path = stream->getPath().join("\\");
|
||||||
qDebug("Saving stream path: %s", qPrintable(stream_path));
|
if(!stream_path.isNull()) {
|
||||||
streamsUrl << stream_path;
|
qDebug("Saving stream path: %s", qPrintable(stream_path));
|
||||||
aliases << stream->getName();
|
streamsUrl << stream_path;
|
||||||
|
aliases << stream->getName();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
QSettings settings("qBittorrent", "qBittorrent");
|
QSettings settings("qBittorrent", "qBittorrent");
|
||||||
settings.beginGroup("Rss");
|
settings.beginGroup("Rss");
|
||||||
|
Loading…
Reference in New Issue
Block a user